Projects timing out after attempting to update node (SOLVED)

EDIT: I was able to fix the projects by opening the terminal and running enable-npm. I’m not sure why that worked but it did.

I tried to update from node 10 on some of my projects and now they won’t load. Instead I get a 503 error. The projects both show the error node: /lib/x86_64-linux-gnu/libm.so.6: version 'GLIBC_2.27' not found (required by node) even after I tried to rewind my projects back to the versions with node 10. The projects are journiedotcom.glitch.me and animal-crossing-birthday.glitch.me. Why did this happen and how do I fix it?


1 Like

this sounds like what would happen if you did npm install node which downloads a version of node into your node_modules and puts it into your path. that version requires newer system dependencies than glitch has. which is bad because then npm stops working too.

good call on using enable_npm, which clears out your node_modules directory without using npm

Note that “updating Node” for your projects on Glitch means just saying which Node engine to use in your package.json, you don’t install anything yourself. Just hit up the package file and replace 10 with 16 and you should be good to go, Glitch will replace your Node versions (unfortunately, it can’t update it past 16 atm)