-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
We have a pre-release of Serverless Framework, installable via serverless@pre-3
.
We'd love the users to test it, but in many cases, plugins have serverless
configured as peer dependency, and then users when installing the plugin see the error as:
Expected Behavior
Best would be if npm ignores installed pre-preleases and in such cases does not attempt to install "correct" version of peer dependency (just listing warning would be ok)
Steps To Reproduce
In an empty folder run the following commands:
npm install serverless@pre-3
npm install serverless-offline
Environment
- npm: 8.1.4
- Node: v16.13.0
- OS: macOs 11.6
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release