You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This request isn't a duplicate of an existing issue
I've read the docs and followed them (if applicable)
This is not a personal support request that should be posted on the Roots Discourse community
Description
6 days ago, the "roave/security-advisories" package was changed to use dev-latest rather than dev-master (https://github.com/roots/bedrock/pull/609/files). After creating a new Bedrock site and running "composer require some/package", composer fails because Bedrock's composer.lock file still references roave/security-advisories:dev-master:
I believe your composer.lock file needs regenerating and committing.
Steps to reproduce
Create a new bedrock project: composer create-project roots/bedrock
Install any package, e.g. cd bedrock && composer require guzzlehttp/guzzle
Expected behaviour: [What you expect to happen]
Composer installs the requested package (guzzle in this example)
Actual behavior: [What actually happens]
Composer gives the following error and fails:
Problem 1
- Can only install one of: roave/security-advisories[dev-latest, dev-master].
- Can only install one of: roave/security-advisories[dev-master, dev-latest].
- Can only install one of: roave/security-advisories[dev-latest, dev-master].
- Installation request for roave/security-advisories dev-latest -> satisfiable by roave/security-advisories[dev-latest].
- Installation request for roave/security-advisories (locked at dev-master, required as dev-latest) -> satisfiable by roave/security-advisories[dev-master].
Reproduces how often: [What percentage of the time does it reproduce?]
Happens every time.
Versions
Bedrock: 1.16.1
MacBook Pro (2019) - macOS Big Sur 11.6
The text was updated successfully, but these errors were encountered:
Description
6 days ago, the "roave/security-advisories" package was changed to use
dev-latest
rather thandev-master
(https://github.com/roots/bedrock/pull/609/files). After creating a new Bedrock site and running "composer require some/package", composer fails because Bedrock'scomposer.lock
file still referencesroave/security-advisories:dev-master
:bedrock/composer.lock
Line 982 in 387e49e
I believe your
composer.lock
file needs regenerating and committing.Steps to reproduce
composer create-project roots/bedrock
cd bedrock && composer require guzzlehttp/guzzle
Expected behaviour: [What you expect to happen]
Composer installs the requested package (guzzle in this example)
Actual behavior: [What actually happens]
Composer gives the following error and fails:
Reproduces how often: [What percentage of the time does it reproduce?]
Happens every time.
Versions
Bedrock: 1.16.1
MacBook Pro (2019) - macOS Big Sur 11.6
The text was updated successfully, but these errors were encountered: