Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install babel-plugin-transform-remove-console getting unable to resolve dependency tree error #1027

Open
chinesehemp opened this issue Apr 13, 2022 · 0 comments

Comments

@chinesehemp
Copy link

Describe the bug

Can't install the plugin.

To Reproduce

Minimal code to reproduce the bug

npm install babel-plugin-transform-remove-console --save-dev

Actual Output

If there is no Error thrown,

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: theapp@1.0.0
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR!   react@"17.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.2" from react-native-web-statusbar@0.0.0
npm ERR! node_modules/react-native-web-statusbar
npm ERR!   react-native-web-statusbar@"^0.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/me/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/me/.npm/_logs/2022-04-13T18_38_56_803Z-debug-0.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant