Skip to content
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

Running composer install --no-dev --optimize-autoloader before deploying failed #122

Open
nugen opened this issue Dec 16, 2020 · 1 comment

Comments

@nugen
Copy link

nugen commented Dec 16, 2020

Hi,

I'm new with the easy-deploy-bundle, and apologize in advance if the answer to my question is obvious.
I've installed the bundle using composer require --dev easycorp/easy-deploy-bundle
I'm using a CustomDeployer that runs locally before deploying the 'composer install --no-dev --optimize-autoloader' command and get an error that seems logical : I need to be in dev mode to run the deploy bundle, and removing dev bundles leads to an error in the webprofilerdebug.

Should i need to install the bundle without the --dev file ?
Thanks

@fd6130
Copy link

fd6130 commented Sep 4, 2021

Hi,

I'm new with the easy-deploy-bundle, and apologize in advance if the answer to my question is obvious.
I've installed the bundle using composer require --dev easycorp/easy-deploy-bundle
I'm using a CustomDeployer that runs locally before deploying the 'composer install --no-dev --optimize-autoloader' command and get an error that seems logical : I need to be in dev mode to run the deploy bundle, and removing dev bundles leads to an error in the webprofilerdebug.

Should i need to install the bundle without the --dev file ?
Thanks

You mean error occurs during deployment or on your local machine? And yes you need to run this bundle in dev mode, deployment suppose to be done in production server but not local.

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

No branches or pull requests

2 participants