NPM not updating


I have a discord.js bot hosted on this. On the discord.js docs., they state that Node.js needs to be on v6.0.0 or newer. So I go and update it in the console. It all works when I type it in but after a while, it comes up with some errors, one of them being: Please try running this command again as root/Administrator. I try remixing the project, which didn’t work.

Thanks in advance.


NPM and Node.js are different things. It sounds like you might be updating npm when it’s asking you to update Node. You can update node on Glitch by changing the version in your package.json file. I’d suggest using 8.x. See for more details.