Skip to content

Heroku deployment fails #642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
norbertogomez opened this issue Sep 4, 2017 · 3 comments
Closed

Heroku deployment fails #642

norbertogomez opened this issue Sep 4, 2017 · 3 comments

Comments

@norbertogomez
Copy link

Hello, while trying to deploy the project to heroku using the button that provided in description I got this:

PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\Dotenv\Dotenv' not found in /app/bin/console:20
Stack trace:
#0 {main}
  thrown in /app/bin/console on line 20

Any Ideas?

@stof
Copy link
Member

stof commented Sep 5, 2017

you need to set the APP_ENV environment variable when deploying on heroku

@stof
Copy link
Member

stof commented Sep 5, 2017

See #643

@javiereguiluz
Copy link
Member

Closing as fixed by #643.

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

No branches or pull requests

3 participants