cheesits456 / discord-ssh-bot

A node.js Discord bot for using shell commands remotely through Discord
GNU General Public License v3.0
36 stars 9 forks source link

Error upon 'npm i' command #1

Closed ChonkyWonky closed 4 years ago

ChonkyWonky commented 4 years ago

told me i needed to update node so i did, is the module supposed to be called server?

`internal/modules/cjs/loader.js:960 throw err; ^

Error: Cannot find module 'semver' Require stack:

cheesits456 commented 4 years ago

hmm that's a problem within the node installation, not from the code I've written. also, "semver" is short for "semantic versioning", so no, its not supposed to be "server". Im not sure the cause of the problem or how to fix it, but it isn't a problem with the code in this repo

ChonkyWonky commented 4 years ago

Yeah I uninstalled node, and reinstalled the latest version five minutes after I posted and it worked perfectly. Thanks anyway.

cheesits456 commented 4 years ago

Ah okay, glad you got it figured out :)