[CPANEL-32218] Any way to update Node.js version?
I'm currently trying to install my first Node.JS app through the user inteface and getting the following error message:
After some searching It seems to be an issue with Node.JS. I used version 14.4 to make this app, and the latest version available through the ui is 12.9. I'd like to know if there is a way to update it through the CLI or other means. I have tried: 1. to include "node":"14.4.0" in my package.json file, 2. added "type": "module" to package.json 3. attempted to get to node to run -i through the ssh access and terminal. Thanks. David
App 1328642 output: internal/modules/cjs/loader.js:981
App 1328642 output: throw new ERR_REQUIRE_ESM(filename);
App 1328642 output: ^
App 1328642 output:
App 1328642 output: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /home/davidha1/apps/comment-system/app.mjs
App 1328642 output: at Object.Module._extensions..mjs (internal/modules/cjs/loader.js:981:9)
App 1328642 output: at Module.load (internal/modules/cjs/loader.js:790:32)
App 1328642 output: at Function.Module._load (internal/modules/cjs/loader.js:703:12)
App 1328642 output: at Module.require (internal/modules/cjs/loader.js:830:19)
App 1328642 output: at Module.require (/opt/passenger-5.3.7-9.el7.cloudlinux/src/helper-scripts/node-loader.js:80:25)
App 1328642 output: at require (internal/modules/cjs/helpers.js:68:18)
App 1328642 output: at loadApplication (/opt/passenger-5.3.7-9.el7.cloudlinux/src/helper-scripts/node-loader.js:243:2)
App 1328642 output: at setupEnvironment (/opt/passenger-5.3.7-9.el7.cloudlinux/src/helper-scripts/node-loader.js:214:2)
App 1328642 output: at Object. (/opt/passenger-5.3.7-9.el7.cloudlinux/src/helper-scripts/node-loader.js:133:1)
App 1328642 output: at Module._compile (internal/modules/cjs/loader.js:936:30)
After some searching It seems to be an issue with Node.JS. I used version 14.4 to make this app, and the latest version available through the ui is 12.9. I'd like to know if there is a way to update it through the CLI or other means. I have tried: 1. to include "node":"14.4.0" in my package.json file, 2. added "type": "module" to package.json 3. attempted to get to node to run -i through the ssh access and terminal. Thanks. David
-
Hello, The newest version of NodeJS that we offer is 10.21.0 through EasyApache. If you have a different version it would have to be a customized installation. 0 -
Any chance of updating to NodeJS 12 anytime soon? 0 -
I see a case for this in the works. The internal case ID is CPANEL-32218 - I'll update here when I get any more information on it. 0 -
Is there any way to expedite this? Is there a safe way to manually install Node v12? 0 -
I added the thread here to the case but I don't have a way to expedite things in the way that you're requesting. 0 -
Any change to this? I'm waiting for Node 12 to deploy one of my apps, but my colleagues are asking me when it will be ready... 0 -
the same problem here. any update? 0 -
Hey there! I don't see an update on the case so I've contacted the team that works with Node.JS. I should have an update some time tomorrow so I'll let you know then! 0 -
Alright, I heard back from the team today and while they are aware of the request it just hasn't received enough requests to get action on it yet. I can say that we are regularly adding updates to version 10, as the recent EasyApache updates moved to 10.23.2. I'm sorry I don't have better news on this at this point. 0 -
Alright, I heard back from the team today and while they are aware of the request it just hasn't received enough requests to get action on it yet. I can say that we are regularly adding updates to version 10, as the recent EasyApache updates moved to 10.23.2.
v10 reaches EOL in 2 months so I'm a bit surprised that still no guidance available yet. Will the next update include supporting v12 or v14 or both? If requests are needed to take action on an existing case issue, shouldn't there be a feature request opened to make it easier for cPanel to get feedback on it? It's kind of hard to provide feedback on an internal issue. Or should someone open one now?0 -
Since the lack of progress is at least partly due to: "hasn't received enough requests to get action on it yet" and I can't find a feature request issue as well, I would just add my voice to the choir here for v12 support to be supported, our applications now require a minimum of Node v12 to be installed which is obviously a problem. 0 -
Our team is still looking into these options but one thing you could do if you are using CloudLinux is utilize the NodeJS Selector tool, which has both v12 and v14 available. 0 -
Hi cPanel team, Any update here? Apart from using CloudLinux? Thanks, Chetan 0 -
I don't have anything new to report on my end just yet. 0 -
Any news on that? Node.js 10 end-of-Life is on April 30. 0 -
I don't have anything new yet on my end. 0 -
I don't have anything new yet on my end.
Version 10 has been EOL for nearly two months now. This is slowly becoming not only functional but also security issue.0 -
I don't have anything new yet on my end.
I don't want to sound as a broken record, but there have been several CVEs (CVE-2021-22918, CVE-2021-27290, CVE-2021-23362, etc) regarding node.js which also affect version 10. This is very lackadaisical attitude on part of Cpanel, given the current state of IT security in general. Can we get a clear answer on ETA?0 -
I don't have anything new to report on my side. It's on the webserver team's radar, but there is no official timeline for this work just yet. In general, I will almost never give an ETA. Sometimes I can see when things are scheduled, but with the software development cycle there are just no guarantees. For example, something could be scheduled in 96.0.12 but then hit a major snag while going through the final release QA checks, causing it to be pushed back at least one version. Usually when I post my updates, it is because a specific case has actually been included in a specific cPanel release version. For example, I will often post updates like this: 0 -
Thank you for an honest answer. 0 -
You're welcome - I may not always have answers, but I'll at least be honest about where things are at. 0 -
So any new updates on this? Over one year since this request has been opened. 0 -
Hello! Unfortunately, we do not have an expected implementation date. However, I also recommend submitting a feature request on this topic to increase visibility with our development team. You can submit a feature request using the "Submit a Feature Request" link in my signature below. Our feature request site is actively reviewed and curated by our development team to identify potential future build plans and accept our community's ideas and suggestions. Adding a feature request here will allow the rest of cPanel's users to vote for it if they would like to see it implemented. While we cannot guarantee that all requests will be accepted, this is the best way to make suggestions visible to the teams that build cPanel. Please let me know if you have any further questions or concerns. 0 -
For anyone looking, there is a feature request for this: Provide Node.js v12 or later Please vote! 0 -
For anyone looking, there is a feature request for this: Provide Node.js v12 or later Please vote!
Thanks for letting us know! We'll see if we can get other users to support this feature request.0 -
As of today, Node.js 16 is available in EA4 0
Please sign in to leave a comment.
Comments
26 comments