Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

can't install #152

Open
Gemorroj opened this issue Aug 18, 2018 · 1 comment
Open

can't install #152

Gemorroj opened this issue Aug 18, 2018 · 1 comment

Comments

@Gemorroj
Copy link

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
@k911
Copy link
Member

k911 commented Aug 18, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants