dashy
dashy copied to clipboard
[BUG] Unable to install Dashy on Node 18 LTS
Environment
Self-Hosted (Bare Metal)
System
Ubuntu 22.04.2 LTS x86_64
Version
2.1.1
Describe the problem
Impossible to install Dashy on the latest LTS version of NodeJS (18.18.0). The achrinza/[email protected] dependency is not up to date and can only be installed on Node 17 or lower.
Additional info

error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.15.0"
error Found incompatible module.
Please tick the boxes
- [x] You have explained the issue clearly, and included all relevant info
- [X] You are using a supported version of Dashy
- [ ] You've checked that this issue hasn't already been raised
- [X] You've checked the docs and troubleshooting guide
- [X] You agree to the code of conduct
If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated
- go to package.json
- change node version from "node": ">16.0.0" to "node": "^16.3.0"
- redeploy with new git project
Commented in pull#1178 - ran into this today - can't install on node 18 - works fine on 16.
Several libraries need updating to make it possible - not just node-ipc.
+1 I also have this problem today trying to deploy on debian 12 bookworm
EDIT: add more debian info
12 (bookworm): 18.13 11 (bullseye): 12.22
Looks like no debian version has suitable node to run dashy...
For those wondering how to solve this issue temporarily, use nvm and install version 16.13.0
Node.js 16 goes into end-of-life status on 2023-09-11. Maybe support for version 18 should be a priority?
@Lissy93 Any update about this issue? NodeJS 16 is EOL
@Lissy93 ⚠️ This should really have some priority, ALL Vercel build will fail after 15.06.24 which is in 4 months.-
Warning: Due to "engines": { "node": ">=16.0.0
✨ This will be fixed in 2.1.2, which will be released soon. 🎉
Tested, it even works with Node 20.11.1 LTS 🚀
Still doesn't work for me. I still get this error:
error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.19.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Still doesn't work for me. I still get this error:
error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.19.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Did you run with ignore engines?
'yarn install --ignore-engines'
I agree, this does not seem to be fixed at this point.
Using version 18.20.4, and changing the package.json to "node": ">16.3.0" under engines, I still get this.
@achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.20.4"
I had originally started with node version 20.15.1 with the package.json change as well but got this error.
error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "20.15.1"
running yarn install --ignore-engines did seem to run the command but got the bellow when running yarn build
$ NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build 'NODE_OPTIONS' is not recognized as an internal or external command, operable program or batch file. error Command failed with exit code 1.
Running npm i cross-env and modifying the package.json to "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build",.
Doing the above, made it run further than before, but still errored out and failed to build.
Running yarn build --fix (as yarn suggested) still did not work.