If the composer.json file is not fount in the root directory, the site breaks.

I would expect this module to support by default both directory structures, so the module should check the root directory and the '../' directory in case we are using drupal-composer. And if in non of those directories is found the composer.json then, the module should not break but let the user insert the path to the composer.json.

CommentFileSizeAuthor
#2 error_if_composer_json-2912470-2.patch570 bytesedurenye

Comments

edurenye created an issue. See original summary.

edurenye’s picture

StatusFileSize
new570 bytes

This path is just a temporary workaround for drupal-composer.

bojanz’s picture

Status: Active » Closed (won't fix)

If you're on D8 simply never use composer_manager. Ever. Thanks.

edurenye’s picture

Well, it is required by sitecommander.
I created a issue there to remove it's dependency #2915075: Composer manager is deprecated after drupal 8.1.

Thank you.