question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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/node-ipc@9.2.2: 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

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:10

github_iconTop GitHub Comments

1reaction
cpgb85commented, Nov 13, 2022

I wouldn’t say the problem is solved. I justed tried to install this and it still uses v 9.2.2 which says it’s not compatible with node 18

0reactions
ivysronocommented, Dec 2, 2022

The lastest version on npm is 2.1.1, published a year ago, does not support node18+

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to Parse Native Modules · Issue #334 - GitHub
I have a very simple vue CLI 3 based sample project which I added vue-cli-plugin-electron builder to. Everything starts up correctly.
Read more >
error:0308010C:digital envelope routines::unsupported while ...
i was trying to create a vue-electron project via electron-builder and I got this error: yarn run v1.22.19 $ vue-cli-service electron:serve ...
Read more >
Guide | Vue CLI Plugin Electron Builder - GitHub Pages
Easily Build Your Vue.js App For Desktop With Electron.
Read more >
Building Desktop Apps With Electron And Vue
The Vue CLI Plugin Electron Builder #. This tool allows you to build Vue apps for desktop with Electron, this means that it...
Read more >
err_ossl_evp_unsupported | The AI Search Engine You Control
Webpack build failing with ERR_OSSL_EVP_UNSUPPORTED ... Node.js v18.7.0 ... have Node 17.x installed; create a new Vue 2.x project; vue add electron-builder ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found