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

Install dev dependencies does not work with older versions of composer due to using a 1.2+ flag #275

Closed
bbashy opened this issue Oct 10, 2016 · 3 comments

Comments

@bbashy
Copy link
Contributor

bbashy commented Oct 10, 2016

Getting this error when deploying

  [Symfony\Component\Console\Exception\RuntimeException]  
  The "--no-suggest" option does not exist.               

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] []...

This is with "install dev dependencies" option ticked in create project modal.

@bbashy
Copy link
Contributor Author

bbashy commented Oct 10, 2016

Didn't work in Composer version 1.1.3 2016-06-26 15:42:08 but does in latest Composer version 1.2.1 2016-09-12 11:27:19?

@REBELinBLUE
Copy link
Owner

This is an option which was added in composer 1.2 https://github.com/composer/composer/blob/master/CHANGELOG.md#120-rc---2016-07-04

To be honest I have never known anyone not to keep their version of composer up-to-date, I will see how difficult it is to have the script check for the option before using it

@REBELinBLUE REBELinBLUE changed the title Composer Using Old Option Install dev dependencies does not work with older versions of composer due to using a 1.2+ flag Oct 19, 2016
@bbashy
Copy link
Contributor Author

bbashy commented Oct 19, 2016

Makes sense. I do try and keep them updated but on this environment I forgot.

Thanks!

@REBELinBLUE REBELinBLUE added this to the 0.0.39 milestone Oct 21, 2016
REBELinBLUE added a commit that referenced this issue Oct 23, 2016
* master: (42 commits)
  Updated CHANGELOG
  Fixes #273 by not copying the shared folder/file from the release if it has already been copied
  Re-added postgres env
  Testing only 1 env
  Test
  Test
  Changed cat command for travis
  Fix code climate issues
  Changed build image
  Fixes #275 by checking that the --no-suggest option exists before attempting to use it
  Fixes #276 - Allows the passphrase for the private key to be set
  Fixed missing reason of rollback (#270)
  Updated dependencies
  Updated dependencies
  Update README.md
  Update README.md
  Update README.md
  Update README.md
  Last chance
  Setting a random JWT
  ...
@REBELinBLUE REBELinBLUE removed this from the 0.0.39 milestone Sep 1, 2017
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

2 participants