The vendor binaries under bin directory failed to load
vendor/autoload.php when called from a dependent project using the
symlinks generated by Composer. For example, the following commands:
cd /path/to/someproject
composer init
composer require 'badoo/jira-client'
./vendor/bin/find-field -h
failed with output similar to this:
PHP Warning: require(/path/to/someproject/vendor/badoo/jira-client/bin/../vendor/autoload.php): failed to open stream: No such file or directory in /path/to/someproject/vendor/badoo/jira-client/bin/find-field on line 8
PHP Fatal error: require(): Failed opening required '/path/to/someproject/vendor/badoo/jira-client/bin/../vendor/autoload.php' (include_path='.:/usr/share/php7:/usr/share/php') in /path/to/someproject/vendor/badoo/jira-client/bin/find-field on line 8
The vendor binaries under bin directory failed to load
vendor/autoload.php
when called from a dependent project using the symlinks generated by Composer. For example, the following commands:failed with output similar to this: