vue-cli-plugin-electron-builder icon indicating copy to clipboard operation
vue-cli-plugin-electron-builder copied to clipboard

vue-cli failed to install plugin electron-builder with node 18

Open acantepie opened this issue 1 year ago • 0 comments

Hi,

Describe the bug I can't install plugin electron-builder with vue-cli because i am using node 18

❯ vue add electron-builder

📦  Installing vue-cli-plugin-electron-builder...

yarn add 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 || 10 || 12 || 14 || 16 || 17". Got "18.8.0"
error Found incompatible module.

Not sure, but i think it's because vue-cli try to install an old version of your plugin that required an old version of @vue/cli-shared-utils (that required a version of @achrinza/node-ipc@ not compatible with my node version)

Env

❯ vue info

Environment Info:

  System:
    OS: Linux 5.19 Arch Linux
    CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor
  Binaries:
    Node: 18.8.0 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: Not Found
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.4.0 
    @vue/babel-helper-vue-transform-on:  1.0.2 
    @vue/babel-plugin-jsx:  1.1.1 
    @vue/babel-plugin-transform-vue-jsx:  1.4.0 
    @vue/babel-preset-app:  5.0.8 
    @vue/babel-preset-jsx:  1.4.0 
    @vue/babel-sugar-composition-api-inject-h:  1.4.0 
    @vue/babel-sugar-composition-api-render-instance:  1.4.0 
    @vue/babel-sugar-functional-vue:  1.4.0 
    @vue/babel-sugar-inject-h:  1.4.0 
    @vue/babel-sugar-v-model:  1.4.0 
    @vue/babel-sugar-v-on:  1.4.0 
    @vue/cli-overlay:  5.0.8 
    @vue/cli-plugin-babel: ~5.0.0 => 5.0.8 
    @vue/cli-plugin-eslint: ~5.0.0 => 5.0.8 
    @vue/cli-plugin-router:  5.0.8 
    @vue/cli-plugin-vuex:  5.0.8 
    @vue/cli-service: ~5.0.0 => 5.0.8 
    @vue/cli-shared-utils:  5.0.8 
    @vue/compiler-core:  3.2.39 
    @vue/compiler-dom:  3.2.39 
    @vue/compiler-sfc:  3.2.39 
    @vue/compiler-ssr:  3.2.39 
    @vue/component-compiler-utils:  3.3.0 
    @vue/reactivity:  3.2.39 
    @vue/reactivity-transform:  3.2.39 
    @vue/runtime-core:  3.2.39 
    @vue/runtime-dom:  3.2.39 
    @vue/server-renderer:  3.2.39 
    @vue/shared:  3.2.39 
    @vue/web-component-wrapper:  1.3.0 
    eslint-plugin-vue: ^8.0.3 => 8.7.1 
    vue: ^3.2.13 => 3.2.39 
    vue-eslint-parser:  8.3.0 
    vue-hot-reload-api:  2.3.4 
    vue-loader:  17.0.0 (15.10.0)
    vue-style-loader:  4.1.3 
    vue-template-es2015-compiler:  1.9.1 
  npmGlobalPackages:
    @vue/cli: Not Found

acantepie avatar Sep 17 '22 16:09 acantepie