Current Behavior:
My application has a nested dependency (3 levels deep) of a public package using the peerDependenciesMeta to mark peerDependencies as optional.
When running npm find-dupes I get the following error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
...
npm ERR! Could not resolve dependency:
npm ERR! peerOptional type-fest@"^0.13.1" from @pmmmwh/react-refresh-webpack-plugin@0.4.3
npm ERR! node_modules/@pmmmwh/react-refresh-webpack-plugin
Expected Behavior:
Not get an error
Steps To Reproduce:
run npm find-dupes on something with uninstalled optional dependencies
(I could make a test repo if you need one?)
Environment:
- OS: MacOs Catalina
- Node: 15.3.0
- npm: 7.0.14
Current Behavior:
My application has a nested dependency (3 levels deep) of a public package using the
peerDependenciesMetato mark peerDependencies as optional.When running
npm find-dupesI get the following error:Expected Behavior:
Not get an error
Steps To Reproduce:
run
npm find-dupeson something with uninstalled optional dependencies(I could make a test repo if you need one?)
Environment: