Reputation: 31
Even after running "npm install -g msbot", I still see msbot : The term 'msbot' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again when tring to clear existing secrets and decrypt use this:
msbot secret -b my.bot --secret OLDSECRET --clear
Upvotes: 1
Views: 848
Reputation: 7241
This could be caused by a few things. Here's a few troubleshooting steps you can try:
msbot
, you may need to close and re-open your console.npm
folder has been added to your Environment Variables.See "Adding Environment Variables" below.PATH
variable added from step 3, you may need to move that entry to ensure it is above/before your Node install path (%ProgramFiles%\nodejs\
)C:\Users\<YourUserName>\AppData\Roaming\npm
(or your npm install path) has been added to your PATH variable. You may need to restart your computer for this to take effect.Upvotes: 1