learningequality / kolibri

Kolibri Learning Platform: the offline app for universal education
https://learningequality.org/kolibri/
MIT License
808 stars 683 forks source link

make docker-whl (build error: incompatible engine node version) #12548

Open sanyaade-teachings opened 3 months ago

sanyaade-teachings commented 3 months ago

Discussed in https://github.com/learningequality/kolibri/discussions/12547

Originally posted by **sanyaade-teachings** August 8, 2024 Hi Everyone, I started to work around kolibri docker build tools. I was able to build the base image, the demoserver built but failed due to missing pex file which I could build with docker-whl I got the following error while running the make docker-whl : ![image](https://github.com/user-attachments/assets/923ffafc-4c10-4e2a-9d84-cdfe7095880b) The above error is due to the fact that the build expected [ engine "node" is incompatible with this module. Expected version "18.x". Got "12.22.9" ] . I went through both the docker/build-whl.dockerfile [setup for nodejs 18.19.0]; ![image](https://github.com/user-attachments/assets/4307afcf-54e5-4bdc-bafe-4d2c41c3ff74) package.json also has it setup for 18.19.0 ![image](https://github.com/user-attachments/assets/ca5ede75-d514-4270-8155-3ca5bc5a4d44) I could not find the configuration file that sets it for nodejs 12.22.9 ( this is my black box as I am studying and navigating kolibri ). I will be grate for any help, pointer or direction. Many thanks! Hear from you all soon. God blesses!!! Regards