-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Default settings compatibility issue: eslint-plugin-n #2861
Comments
I removed the entire folder and re-installed using yarn it seems to work without this previous issue. Feel free to close this ticket if not useful. |
@JosephBarkate thanks for the report, I couldn't reproduce this - could you supply your EDIT: nevermind you took the defaults, let me try again |
Hmm yeah couldn't reproduce on node 20, wonder if it's specific to 21 and some npm upgrade (although I'm on 10.2.3) |
just created a project using the defaults and got this error. it's weird because on first install it works fine, but if you try to install something else you get the error. i'm on node v20.12.2 |
@JosephBarkate What do you mean by removing the entire folder, the whole project? I have the same issue. I can't install packages to the project with Node 22.12.0 |
@beefy24 , yea I removed the entire project to get a fresh repo. But it seems the issue is the package manager you choose. I had the error with |
Describe the bug
Installing the boilerplate with:
npx ignite-cli@latest new PizzaApp
, and accepting all the default settings leads to a compatibility issue while doing my firstnpm install
.The error:
git:(main) ✗ npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/eslint-plugin-n npm ERR! dev eslint-plugin-n@"^17.10.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint-plugin-n@"^15.0.0 || ^16.0.0 " from [email protected] npm ERR! node_modules/eslint-config-standard npm ERR! dev eslint-config-standard@"^17.1.0" from the root project
The Solution:
Not ideal but to get around this I downgraded two package versions and my boilerplate seems to be installing correctly now. These are the two packages I had to downgrade 1 major version:
"eslint-plugin-n": "^16.0.0", "eslint-plugin-promise": "^6.0.0",
Not sure if this will eventually be fixed upstream or if its requires a PR, but would appreciate a second opinion. Thanks again for providing this product!
Ignite version
release
Additional info
The text was updated successfully, but these errors were encountered: