Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node 20 support #7419

Open
MikeMitterer opened this issue Aug 22, 2023 · 1 comment
Open

node 20 support #7419

MikeMitterer opened this issue Aug 22, 2023 · 1 comment

Comments

@MikeMitterer
Copy link

Version

5.0.8

Environment info

Environment Info:

  System:
    OS: macOS 13.4.1
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 20.2.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 9.6.6 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 116.0.5845.96
    Edge: Not Found
    Firefox: 113.0.2
    Safari: 16.5.2
  npmPackages:
    @vue/cli-overlay:  5.0.8
    @vue/cli-plugin-router:  5.0.8
    @vue/cli-plugin-typescript: ~5.0.8 => 5.0.8
    @vue/cli-plugin-unit-jest: ~5.0.8 => 5.0.8
    @vue/cli-plugin-vuex:  5.0.8
    @vue/cli-service: ~5.0.8 => 5.0.8
    @vue/cli-shared-utils:  5.0.8
    @vue/compiler-sfc:  2.7.14
    @vue/component-compiler-utils:  3.3.0
    @vue/test-utils: 1 => 1.3.6
    @vue/vue2-jest: ^29.2.4 => 29.2.5
    @vue/web-component-wrapper:  1.3.0
    jest-serializer-vue:  2.0.2
    typescript: ^4.4.4 => 4.9.3
    vue: 2.7 => 2.7.14
    vue-class-component: ^7.2.6 => 7.2.6
    vue-cli-plugin-vuetify: ^2.4.2 => 2.5.8
    vue-hot-reload-api:  2.3.4
    vue-loader:  17.0.1 (15.10.1)
    vue-property-decorator: ^9.1.2 => 9.1.2
    vue-router: ^3.5.2 => 3.6.5
    vue-style-loader:  4.1.3
    vue-template-compiler: 2.7 => 2.7.14
    vue-template-es2015-compiler:  1.9.1
    vuetify: ^2.5.10 => 2.6.12
    vuetify-loader: ^1.7.2 => 1.9.2
    vuex: ^3.6.2 => 3.6.2
    vuex-class: ^0.3.2 => 0.3.2
    vuex-module-decorators: ^1.0.1 => 1.2.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

yarn

What is expected?

Should install necessary packages

What is actually happening?

yarn install v1.22.19
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19". Got "20.2.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.


This is a workaround...
yarn config set ignore-engines true

yarn why gives me:

yarn why v1.22.19
[1/4] 🤔 Why do we have the module "@achrinza/node-ipc"...?
[2/4] 🚚 Initialising dependency graph...
[3/4] 🔍 Finding dependency...
[4/4] 🚡 Calculating file sizes...
=> Found "@achrinza/[email protected]"
info Reasons this module exists

  • "@VUE#cli-plugin-typescript#@VUE#cli-shared-utils" depends on it
  • Hoisted from "@VUE#cli-plugin-typescript#@VUE#cli-shared-utils#@achrinza#node-ipc"
    ✨ Done in 0.21s.
@achrinza
Copy link

@achrinza/[email protected] has explicit support for Node.js v20 (achrinza/node-ipc#45), of which is already in scope as a transient dependency for the Vue CLI (00fd2b6).

Have you tried regenerating the Yarn lockfile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants