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

Fails to build with Nodejs 20 #1863

Open
poVoq opened this issue Mar 19, 2024 · 2 comments
Open

Fails to build with Nodejs 20 #1863

poVoq opened this issue Mar 19, 2024 · 2 comments
Labels

Comments

@poVoq
Copy link

poVoq commented Mar 19, 2024

When I try to build this on Fedora 39, which ships with Nodejs 20 I get the following error:

yarn install v1.22.21
[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.10.0"
error Found incompatible module.
@poVoq poVoq added the bug label Mar 19, 2024
@joramirez764
Copy link

I have the same error. I guess it is only compatible up to version 19, has anyone solved this to work with version 20?

yarn install v1.22.22
[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.12.2"
error Found incompatible module.

@TheFlipside
Copy link

You can use Node Version Manager (NVM) to switch to a compatible version of Node.js.

  1. Install NVM:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
  1. Install and Use Node.js Version 19
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install 19
nvm use 19
  1. Build kiwiirc with node version 19
yarn install
yarn run build

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

No branches or pull requests

3 participants