Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

npm engine unsupported/not compatible #2

Open
cookiepirate opened this issue Sep 10, 2022 · 0 comments
Open

npm engine unsupported/not compatible #2

cookiepirate opened this issue Sep 10, 2022 · 0 comments

Comments

@cookiepirate
Copy link

cookiepirate commented Sep 10, 2022

When I try to run these commands:
cd ~/headless-commerce-demo/third_party/storefront
source set_env.sh
npm install
npm run dev

I get error like this:

npm WARN old lockfile
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":">=12 <=14","npm":"<=6"}
npm ERR! notsup Actual: {"npm":"8.19.1","node":"v16.4.0"}
npm-issue

The issue might be with this part in package.json

"engines": {
"node": ">=12 <=14",
"npm": "<=6"
}

I am unable to resolve it. Please help.

Edit: I am also uploading the log file if someone needs more information.
2022-09-10T20_08_59_689Z-debug-0.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant