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

Update engines in package.json to only allow Node version 14.x.x. #808

Open
1 task done
jkopepasah-godaddy opened this issue Sep 13, 2022 · 0 comments
Open
1 task done
Labels
[Type] Bug Something that is not working as expected

Comments

@jkopepasah-godaddy
Copy link
Contributor

jkopepasah-godaddy commented Sep 13, 2022

Describe the bug:

When using node version 16 LTS, errors related to not finding correct packages are reported when running npm install. While updating these packages may resolve these issues, the simpler solution is to ensure the developer is using the current available

➜ go git:(master) npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/stylelint
npm ERR!   dev stylelint@"^14.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer stylelint@"^13.13.1" from @godaddy-wordpress/[email protected]
npm ERR! node_modules/@godaddy-wordpress/stylelint-config
npm ERR!   dev @godaddy-wordpress/stylelint-config@"^0.4.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 ~/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     ~/.npm/_logs/2022-09-13T20_26_09_410Z-debug-0.log

Resolution:

Update engine configuration in package.json to only allow Node 14.x.x. (until we have a fix for Node 14+)

Priority (select one):

  • Medium - Doesn't work as expected
@jkopepasah-godaddy jkopepasah-godaddy added the [Type] Bug Something that is not working as expected label Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something that is not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant