You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
I had empty composer.json file in my home directory (created by mistake, not sure why it existed there)
this composer.json was loaded instead of one from project root directory, because it didn't include vendor-dir script pretty much fail with the following error.
$ ./vendor/bin/box build -v
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'The Composer class loader "/Users/konrad/vendor/autoload.php" could not be found.' in /Users/konrad/projects/acme-project/generator/vendor/kherge/box/bin/box:89
Stack trace:
#0 /Users/konrad/projects/acme-project/generator/vendor/kherge/box/bin/box(16): loadComposerClassloader('/Users/konrad/p...')
#1 {main}
thrown in /Users/konrad/projects/acme-project/generator/vendor/kherge/box/bin/box on line 89
Fatal error: Uncaught exception 'RuntimeException' with message 'The Composer class loader "/Users/konrad/vendor/autoload.php" could not be found.' in /Users/konrad/projects/acme-project/generator/vendor/kherge/box/bin/box:89
Stack trace:
#0 /Users/konrad/projects/acme-project/generator/vendor/kherge/box/bin/box(16): loadComposerClassloader('/Users/konrad/p...')
#1 {main}
thrown in /Users/konrad/projects/acme-project/generator/vendor/kherge/box/bin/box on line 89
The text was updated successfully, but these errors were encountered:
I had empty
composer.json
file in my home directory (created by mistake, not sure why it existed there)this composer.json was loaded instead of one from project root directory, because it didn't include vendor-dir script pretty much fail with the following error.
Might be a good idea to limit searching in parent directories to the directory from where task is actually run. https://github.com/box-project/box2/blob/2.0/bin/box#L37-L49
The text was updated successfully, but these errors were encountered: