We know that folks have been asking us to provide newer versions of Node for use with Glitch. Today, we have some exciting news to share with you! You can now use Node 14 on Glitch!
This update does mean that we had to make a few changes that you should be aware of…
Here’s the rundown:
- We have updated our containers to include Node 14!
- If you have a project that uses Node 14, packages will be installed via npm (instead of pnpm).
- If you have a project that uses Node 14 and it is currently getting stuck in an install loop, open the project terminal and run the command, enable-npm.
- If you have a project that uses a version of Node that is Node 12 or older, packages will still be installed via pnpm, unless you have specifically opted into using npm in the past. Please continue to use this method of installation for projects that use an older version of Node (Node 12, 10, Node 8, etc).
And here’s a little more info for those of you that are saying, “wait, wat?!”
We acknowledge that previously, the solution to most install issues on Glitch was to run the command, enable-pnpm. The reason was that using this method resulted in a faster and more efficient installation of packages. With this update, Node 14 always uses npm. Rest assured that neither pnpm’s nor npm’s node_modules folders count against your disk usage limit!
If you have any questions about this, you can post them here or send us a support request.
Edit 12/21/2020: Hi, Jenn here! I’ve updated this post to reflect some changes we made as we rolled back a bit due to users hitting issues, as opposed to making an entirely new thread. What is in this post is the latest information.