vti / elemntary

Wahoo Elemnt Configuration
GNU General Public License v3.0
57 stars 4 forks source link

node-ipc dependency doesn't work with current version of node #11

Open cleeland opened 1 year ago

cleeland commented 1 year ago

Trying to do a fresh build from source on macOS using brew-based instructions, and yarn install gives the following error:

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

node was installed via brew. Here's the details on it:

$ brew info node
==> node: stable 20.3.0 (bottled), HEAD
Platform built on V8 to build network applications
https://nodejs.org/
/usr/local/Cellar/node/20.3.0 (2,446 files, 59.4MB) *
  Poured from bottle using the formulae.brew.sh API on 2023-06-14 at 00:44:47
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/node.rb
License: MIT
==> Dependencies
Build: pkg-config ✔, python@3.11 ✘
Required: brotli ✔, c-ares ✔, icu4c ✔, libnghttp2 ✔, libuv ✔, openssl@1.1 ✔
==> Options
--HEAD
    Install HEAD version
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Analytics
install: 231,059 (30 days), 16,840 (90 days), 3,907,553 (365 days)
install-on-request: 180,250 (30 days), 15,300 (90 days), 3,454,684 (365 days)
build-error: 496 (30 days)
vti commented 1 year ago

Uff, can't do much right now. Vue depends on node-ipc which is failing, the latest version 10.1.7 also doesn't help. Try to install node 18, until it's fixed.