veaury icon indicating copy to clipboard operation
veaury copied to clipboard

npm run setup failed with conflict node requirements

Open coder-layne opened this issue 11 months ago • 5 comments

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 avatar Jan 21 '25 01:01 coder-layne

@coder-layne As shown in the error message, upgrade your node version to at least 18 or above.

devilwjp avatar Jan 21 '25 01:01 devilwjp

@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"

coder-layne avatar Jan 22 '25 10:01 coder-layne

@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 avatar Nov 24 '25 08:11 gaomigithub

@gaomigithub

yarn install --ignore-engines

devilwjp avatar Nov 24 '25 08:11 devilwjp

@gaomigithub

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"
  }
}

gaomigithub avatar Nov 24 '25 09:11 gaomigithub