-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Node Upgrade #30420
Node Upgrade #30420
Conversation
PR-30354 was merged in the same context yesterday but caused issues on production after which it was reverted. Turns out that it was using |
5871edf
to
2f62fc2
Compare
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
EdX Release Notice: This PR has been deployed to the production environment. |
This PR is breaking the package-lock.json file in multiple ways. As a consequence it is no longer possible to build the "nightly" image of Tutor. Note that Tutor used "Host key verification failed"When running
That's because the jasmine-jquery package was configured to install from ssh, and not https. "Unsupported platform for fsevents"After upgrading nodejs to 16.15.0 in the Docker image, I still cannot build the image:
The reason for that is that I'm installing packages on Linux, and not macOS. Unfortunately I cannot link to the exact lines in package-lock.json because that file is too large to display in Github. You can have a look at its internals here: https://raw.githubusercontent.com/openedx/edx-platform/master/package-lock.json |
@regisb The host key verification issue is known to us and arises when trying to install packages with outdated Node versions on Docker only. For this either please update to Node16 or update npm to version 8 with Node12 |
Thanks for the quick reply @aht007, I appreciate it. To be honest I do not have enough experience with npm to understand the technical aspect of the problem -- there are too many concepts which I do not understand in that conversation. You're saying that we should resort to So the question becomes: how long will we have to use |
I will create a ticket for that in |
Description
This PR adds
node 16
support to edx-platform and also updates the dependent packages inpackage.json
Tested these changes by creating Sandbox with Node 16 configurations as well as on Sandbox with node 12 configuration.
Related PR to move
prod
to Node16 will be merged later on