Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Trying to create apps with latest Shopify CLI ( 3.61.2)
npm init @Shopify/app@latest
...
Receive this error:
Command failed with exit code 1: npm install
npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: undefined
npm error notsup Not compatible with your version of node/npm: undefined
npm error notsup Required: {"node":"^18.20 || ^20.10 || ^22"}
npm error notsup Actual: {"npm":"10.8.1","node":"v20.6.0"}
Yet I am running a valid version of node.
Same results with older mac OS11 with Darwin64 && with new Macbook w/ ARM64.
Earlier versions of CLI worked fine.
Thoughts on what I need to look into would be most appreciated.
I am having the same issue when trying to create an app via shopify CLI
Error coming from `npm install`
Command failed with exit code 1: npm install
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: undefined
npm ERR! notsup Not compatible with your version of node/npm: undefined
npm ERR! notsup Required: {"node":"^18.20 || ^20.10 || >=21.0.0"}
npm ERR! notsup Actual: {"npm":"9.3.1","node":"v18.14.0"}
Any suggestions how this can be fixed?