unjs / nypm

🌈 Unified Package Manager for Node.js and Bun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The engine "node" is incompatible with this module.

freakkiller opened this issue · comments

Environment

{
"name": "xxx",
"private": true,
"scripts": {
"dev": "nuxt dev",
"build": "nuxt build",
"generate": "nuxt generate",
"preview": "nuxt preview",
"start": "node .output/server/index.mjs"
},
"devDependencies": {
"nuxt": "^3.4.3",
"primeicons": "^6.0.1",
"primevue": "^3.28.0"
},
"dependencies": {
"@pinia/nuxt": "^0.4.10",
"@vuelidate/core": "^2.0.2",
"@vuelidate/validators": "^2.0.2",
"axios": "^1.4.0",
"swiper": "^9.3.0",
"pinia": "^2.0.36",
"sass": "^1.62.1"
}
}

Reproduction

Upgrade to node version 20.2.0 and try to run yarn install

Describe the bug

error nypm@0.2.0: The engine "node" is incompatible with this module. Expected version "^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0". Got "20.2.0"
error Found incompatible module.

Additional context

No response

Logs

No response

the fix has been merged but needs to be released: #67 and #70.

cc: @pi0

Should be fixed in latest release