vue-cli
vue-cli copied to clipboard
Unable to support node18
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"
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
Upgrade to @vue/cli-service 5.0.8 ....
https://cli.vuejs.org/migrations/migrate-from-v4.html