veaury
veaury copied to clipboard
npm run setup failed with conflict node requirements
npm run setup failed under node@20, and failed again after downgrade to node@16.
error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "20.18.0"
// after downgrade to node@16
error @testing-library/[email protected]: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2"
@coder-layne As shown in the error message, upgrade your node version to at least 18 or above.
@devilwjp Failed under node@18 also.
error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.20.6"
@devilwjp Same problem in current project.
When I tried to use node 18, it told me:
error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.20.8"
and using 16:
error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 18". Got "16.20.2"
@gaomigithub
yarn install --ignore-engines
yarn install --ignore-engines
Figured out. I made this in VUE project package.json
{
"name": "dev-project-vue3",
...
"resolutions": {
"@achrinza/node-ipc": "9.2.9"
}
}