vue-cli icon indicating copy to clipboard operation
vue-cli copied to clipboard

Unable to support node18

Open cp333wzh opened this issue 2 years ago • 2 comments

Version

4.5.19

Environment info

node 18.15.0 
vue 3.2.36
@vue/cli-service 4.5.19

Steps to reproduce

Packaging the vue-cli 4.5.19 project using node 18 version

What is expected?

success

What is actually happening?

error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.15.0"

cp333wzh avatar May 04 '23 14:05 cp333wzh

I face this too, if you're using yarn, you can add resolutions to override the version

  "resolutions": {
    "@achrinza/node-ipc": "v9.2.7"
  }

But, it would be better if the maintainers upgrade the @achrinza/node-ipc version

fahmifan avatar Jul 26 '23 07:07 fahmifan

Upgrade to @vue/cli-service 5.0.8 .... https://cli.vuejs.org/migrations/migrate-from-v4.html

Tofandel avatar Jul 27 '23 11:07 Tofandel