Skip to content

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

Description

@nugen

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

Activity

  1. fd6130 commented on Sep 4, 2021

    @fd6130

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions