Closed
Description
Steps to reproduce:
-
Create the following package.json file:
{ "dependencies": { "loopback-datasource-juggler": "~1.2.13", "loopback": "~1.6.0" } }
-
Run
npm install
.[cut] npm ERR! peerinvalid The package loopback-datasource-juggler does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer loopback@1.6.2 wants loopback-datasource-juggler@~1.3.0
The problem is IMO caused by loopback v1.6.2 breaking semver rules.
How to fix the immediate problem:
- release loopback v1.6.2 as v1.7.0
npm unpublish loopback@1.6.2
- update loopback-workspace to depend on loopback >=1.7, publish a new patch version
/to @raymondfeng @ritch Any objections to taking the two actions above?
Longterm:
When we bump up the version of loopback-datasource-juggler required by loopback to a different major/minor version, we must release this change as a minor version of loopback.