We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MacOs 13.6.7 (22G720)
Installation of NodeJs v20.11.1 via asdf
$ node --version v20.11.1 $ which npm /Users/.../.asdf/shims/npm $ npm --version 10.8.2 $ npx --version 10.8.2 $ npx create-webiny-project webiny-fresh Webiny requires npm@^10 or higher. Please run npm install npm@latest -g, to get the latest version.
Should be possible to bootstrap project with NPM 10.8.2 according to printed requirement.
Webiny requires npm@^10 or higher. Please run npm install npm@latest -g, to get the latest version.
No response
The text was updated successfully, but these errors were encountered:
I'm having the same issue with npm 10.9.0 (with Node v20.18.0 on Ubuntu)
Sorry, something went wrong.
🔨 I found a workaround, I was able to run yarn create webiny-project headless instead.
yarn create webiny-project headless
It looks like npm --version (https://github.com/webiny/webiny-js/blob/5e0b6cbd8291624b27323a4d2ed679732c5948e4/packages/create-webiny-project/utils/getNpmVersion.js#L5C9-L5C62) returns nothing when run by execa on my system. Did something change with npm recently, or is this related to how I have npm installed on my system? Running npm --version from the command line returns the expected value.
npm --version
{ command: 'npm --version', stdout: '', stderr: '', stdio: [ undefined, '', '' ], ipcOutput: [], pipedFrom: [] }
This is a very weird issue. I'm able to create projects without problems using npm 10.8.1 and node 20.16.0. This is how we detect npm version: https://github.com/webiny/webiny-js/blob/next/packages/create-webiny-project/utils/getNpmVersion.js
10.8.1
20.16.0
There really isn't anything complex about the version detection, it's just running npm --version.
No branches or pull requests
Version
Operating System
MacOs 13.6.7 (22G720)
Browser
What are the steps to reproduce this bug?
Installation of NodeJs v20.11.1 via asdf
What is the expected behavior?
Should be possible to bootstrap project with NPM 10.8.2 according to printed requirement.
What do you see instead?
Webiny requires npm@^10 or higher.
Please run npm install npm@latest -g, to get the latest version.
Additional information
No response
Possible solution
No response
The text was updated successfully, but these errors were encountered: