You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as the error. I can't reproduce it locally. I get an ERESOLVE which makes sense as the error you see appears to be npm having trouble explaining the ERESOLVE error.
If we can reproduce the error we can fix it. I'd also suggest revisiting your script to see what you are actually wanting it to do here.
The peer conflict I get locally is:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: eslint@9.0.0
npm ERR! Found: eslint@9.0.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"file:." from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^7.5.0 || ^8.0.0" from @babel/eslint-parser@7.24.1
npm ERR! node_modules/@babel/eslint-parser
npm ERR! @babel/eslint-parser@"*" from the root project
Activity
wraithgar commentedon Apr 14, 2024
I can't reproduce with this script, however this script is doing several either wrong or meaningless things.
This does nothing:
This is definitely not recommended.
What exactly are you trying to do in this script?
As far as the error. I can't reproduce it locally. I get an
ERESOLVEwhich makes sense as the error you see appears to be npm having trouble explaining theERESOLVEerror.If we can reproduce the error we can fix it. I'd also suggest revisiting your script to see what you are actually wanting it to do here.
The peer conflict I get locally is:
wraithgar commentedon Apr 14, 2024
If you feel you have a reproducible npm bug please submit an issue.
targos commentedon Apr 15, 2024
I can reproduce locally with the
update-eslint.shscript, but I'm not sure it makes sense to submit an issue if it's not using npm in a supported way.