-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Can't get it working with npm 10.9.0 #3648
Comments
Hitting this also. Log attached.
Also had success with downgrading npm as a workaround.
|
I had the same issue, I ended up renaming |
Also had the same issue. On node version 22.5.1 |
#3656 seems the same. There's change about how
And with npm 10.9.0, they are checking devEngines with a new spec as defined here. feat:devEngines You can modify the devEngines property like this. "devEngines": {
"runtime": {
"name": "node",
"version": ">=14.x",
"onFail": "error"
},
"packageManager": {
"name": "npm",
"version": ">=7.x",
"onFail": "error"
}
}, |
Fix electron-react-boilerplate#3648 I implemented this comment: electron-react-boilerplate#3648 (comment) and now `npm install` runs without error
Prerequisites
main
branchDEBUG_PROD=true npm run build && npm start
Expected Behavior
Run the boilerplate after sources clone
Current Behavior
Can't run npm install
Steps to Reproduce
git clone --depth 1 --branch main https://github.com/electron-react-boilerplate/electron-react-boilerplate.git
cd electron-react-boilerplate
npm install
npm error Invalid property "node" npm error A complete log of this run can be found in: /home/thepasto/.npm/_logs/2024-10-10T08_58_47_469Z-debug-0.log
Possible Solution (Not obligatory)
Context
Everything is working as well with npm 10.7.0, after npm updated to 10.9.0 , every npm command fails with the message:
Your Environment
The text was updated successfully, but these errors were encountered: