Open
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
When using legacy peer deps, npm no longer throws a warning for uninstalled peer dependencies.
Notice no warning for eslint-config-airbnb's peers.
Expected Behavior
You should see a warning. Notice that yarn throws a warning:
Steps To Reproduce
- Go to codesandbox
- Create a new node project
- yarn add eslint-config-airbnb - note you get warnings
- rm -rf node_modules
- npm i eslint-config-airbnb --legacy-peer-deps=true - note you get no warnings
- Look in the package-lock.json and note that none of the peers have been installed
Environment
- npm: latest
- Node.js: LTS
- OS Name: N/A
- System Model Name: N/A
- npm config: N/A