Open Gemorroj opened 6 years ago
mysql_1 | 2018-08-18T06:53:15.746807Z 0 [Note] mysqld: ready for connections. mysql_1 | Version: '5.7.23' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL) api_1 | 2018/08/18 06:53:15 Connected to tcp://mysql:3306 api_1 | api_1 | Warning: require(/usr/src/api/bin/../vendor/autoload.php): failed to open stream: No such file or directory in /usr/src/api/bin/console on line 12 api_1 | api_1 | Fatal error: require(): Failed opening required '/usr/src/api/bin/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /usr/src/api/bin/console on line 12 api_1 | make: *** [Makefile:83: fixtures-reload] Error 255 api_1 | mkdir -p config/jwt api_1 | openssl genrsa -passout pass:56c247d4c281f5de0d8d9d894f2b605157fd379c -out config/jwt/private.pem -aes256 4096 api_1 | Generating RSA private key, 4096 bit long modulus api_1 | .........................................................................................................++ api_1 | .........++ api_1 | e is 65537 (0x10001) api_1 | openssl rsa -passin pass:56c247d4c281f5de0d8d9d894f2b605157fd379c -pubout -in config/jwt/private.pem -out config/jwt/public.pem api_1 | writing RSA key api_1 | RSA key pair successfully generated api_1 | api_1 | Warning: require(/usr/src/api/bin/../vendor/autoload.php): failed to open stream: No such file or directory in /usr/src/api/bin/console on line 12 api_1 | api_1 | Fatal error: require(): Failed opening required '/usr/src/api/bin/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /usr/src/api/bin/console on line 12 api_1 | make: *** [Makefile:35: cache-clear] Error 255 knit-api_api_1 exited with code 2
Hello @Gemorroj, thanks for the report!
For now you can use this workaround:
sudo rm -rf vendor composer install --no-scripts
Then executing:
docker-compose up
Should get you project up and running