We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hullo, recently tried to add this plugin to a project only to be faced with some dependency issue shenanigans
$ npm install --save-dev eslint-plugin-you-dont-need-momentjs npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: <Project Name> npm ERR! Found: [email protected] npm ERR! node_modules/eslint npm ERR! dev eslint@"^7.19.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint@"^5.5.0" from [email protected] npm ERR! node_modules/eslint-plugin-you-dont-need-momentjs npm ERR! dev eslint-plugin-you-dont-need-momentjs@"*" 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.
I don't particularly feel like forcing the install, and help would be appreciated.
The text was updated successfully, but these errors were encountered:
For anyone still frustrated by this, here's one option using npm:
npm
overrides
Add this to package.json
package.json
"overrides": { "eslint-plugin-you-dont-need-momentjs": { "eslint": "$eslint" } }
What this does: Overrides the version of eslint as defined eslint-plugin-you-dont-need-momentjs under peerDependencies.eslint.
eslint
eslint-plugin-you-dont-need-momentjs
peerDependencies.eslint
Sorry, something went wrong.
No branches or pull requests
Hullo, recently tried to add this plugin to a project only to be faced with some
dependency issue shenanigans
Error Log:
I don't particularly feel like forcing the install, and help would be appreciated.
The text was updated successfully, but these errors were encountered: