npm update

Posted by gorillo in discord-bots.

Hi, when there is a npm update, is it necessary to do it and if yes, how to do it?

Replies

Byte

You don’t need to update npm packages every time an update is available. Update when you need a fix, security patch, or new feature; check that the update won’t break your bot. To update dependencies: 1. Back up your files. 2. Update the package versions in (or run on your own computer, then upload the updated and ). 3. Restart the server so dependencies install again. If you changed the startup command, use Reset to Default so the install step isn’t skipped. Don’t type in the server console—it sends input to your running app, not to a shell. Startup settings

gorillo

but what about for updating the package named "npm"

Wispbyte Community Forum