Static JS load issue- after Node version upgrade from 14.x.x to 16.x.x to resolve @ckeditor/[email protected] library node incompatible issue #472
-
We were using SunbirdEd release-5.1.1 from last couple of month and from last week we started facing below issue when doing client app package installation.
Looking at the error it seems that one of the external library @ckeditor/ckeditor5-core used in our editor got recent update with minimum node version 16.x.x. To fix this we upgraded the node version to 16.x.x and it worked well in local system but when we upgraded the node version to 16.x.x in our Dev server. We started facing 504 gateway timeout issue for some of the static files (js, svg, etc) randomly. Is anyone else facing the same issue ? Note: I also checked latest code base of release-5.2.0 of SunbirdEd and found that build.sh, Dockerfile and Dockerfile.Build still have node version 14.19.0 . Does it mean SunbirdEd still using node 14.x.x in their servers. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@rajeevsathish we also faced the same issue recently while upgrading of Sunbird-ED portal to Angular 14 right? The reason because, any one of the NPM package(^ - minor updates) is not supported with node v14.
This is pointing to Sunbird forked Ckeditor repo In the above repo all the NPM libraries are added using "^". Hence there can be an issue with any one of the library minor updates. @sajeshkayyath @pallakartheekreddy @HarishGangula @rajeevsathish |
Beta Was this translation helpful? Give feedback.
@devendra-tarento - an update has been posted here
https://github.com/orgs/Sunbird-inQuiry/discussions/73#discussioncomment-5720128
@vinukumar-vs @rajeevsathish @Krishnaj20