Problem during setup with node version #12276
Replies: 3 comments 2 replies
-
Hi @Searchingdays, Thanks for your interest in contributing! I wonder if the node version 20.12.2 is the global version on your system and is being used rather than the node version listed in the virtual environment. Could you try switching the node version in your system terminal to v18? The npm documentation recommends using a node version manager like nvm to install Node.js and npm. In the Kolibri docs, nodeenv is recommended, and I've had success using volta. |
Beta Was this translation helpful? Give feedback.
-
I uninstalled the global node,js version and reinstalled it. Using nvm I installed the version 18.19.0, but then on yarn run devserver this was the error: kolibri-root@0.12.0-dev.1: The engine "node" is incompatible with this module. Expected version "20.x". Got "18.19.0". |
Beta Was this translation helpful? Give feedback.
-
Doesn't seem to be active anymore, so closing |
Beta Was this translation helpful? Give feedback.
-
I was trying to setup kolibri for development, but am having problems with yarn run devservers and the node version. Moreover I am not able to use npm as it shows module not found error. When I try to use yarn to install npm, yarn shows error.
I have checked with node --version, inside the virtual environment, it is 18.19.0, but still yarn displays the error message kolibri-tools@0.16.1-dev.1: The engine "node" is incompatible with this module. Expected version "18.x". Got "20.12.2"
Beta Was this translation helpful? Give feedback.
All reactions