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

Lightning RC4 not installed #10

Closed
davidgil opened this issue May 10, 2016 · 7 comments
Closed

Lightning RC4 not installed #10

davidgil opened this issue May 10, 2016 · 7 comments

Comments

@davidgil
Copy link

Hi,

i am trying to update a RC3 version but when i run "composer update", it install 8.1.0-beta5.

When i try to install a clean lightning using:

composer create-project acquia/lightning-project:^8.1.0 MY_PROJECT --no-interaction --stability rc

it also installs me:

        "name": "drupal/lightning",
        "version": "8.1.0-beta5",

¿any ideas?

Best
David

@phenaproxima
Copy link
Collaborator

Ooh, good catch. I believe this is a problem in lightning-project.

Try this, though -- in your composer.json, try changing the drupal/lightning version constraint to ^8.1 and re-running composer update. If my suspicion is correct, that will bring it up to the latest RC.

@davidgil
Copy link
Author

Changed lightning req to:

    "drupal/lightning": "^8.1",

but still downloading beta5

@balsama
Copy link
Contributor

balsama commented May 10, 2016

Possibly another dependency that requires an earlier version of drupal? Have you required any other dependencies in your project?

@davidgil
Copy link
Author

It is happening with a clean lightning install, installed using:

composer create-project acquia/lightning-project:^8.1.0 MY_PROJECT --no-interaction --stability rc

then i update:
"drupal/lightning": "^8.1",

as suggested by @phenaproxima but the same occurs. attach composer.json & composer.lock

composer.zip

@balsama
Copy link
Contributor

balsama commented May 10, 2016

Looks like we traced this down to a dependency conflict in drush. We were requiring drush dev because we rely on a patch that hasn't made it into a release. We are now requiring a specific version of drush and patching it to eliminate the possibility of it introducing conflicts like this in the future.

For now, you can require lightning dev in your lightning project (after running the standard composer create-project command):

composer require drupal/lightning:dev-8.x-1.x

We'll make a new release tomorrow.

@phenaproxima
Copy link
Collaborator

phenaproxima commented May 12, 2016

Our RC5 release (which we rolled specifically to address this issue) is now out. You'll want to change the Lightning version constraint in composer.json to ^8.1@rc, then run composer update -- that SHOULD fix the problem!

@balsama
Copy link
Contributor

balsama commented May 16, 2016

Fixed in RC5

@balsama balsama closed this as completed May 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants