Open Orodgers141 opened 3 years ago
Have you restarted your terminal ?
A quick tip would be to do: npm list -g --depth 0
. It will show the NPM packages you installed globally.
Slappey should appear on the list as you did install it. If it is not, the issue is related to the installation.
C:\Users\Orodg>npm list -g --depth 0
C:\Users\Orodg\AppData\Roaming\npm
+-- discord.js@12.5.1
+-- nodemon@2.0.4
`-- slappey@3.0.0
appears there so...
It looks like slappey has found its way into an improper directory. Try removing and re-adding it. And this time try running the command straight from a cmd prompt on your desktop rather than in a folder elsewhere. I'm not sure if it'll work, but it may help.
THIS FIXED THE ISSUE FOR ME What you need to do is go to This PC / My Computer and right click it from there click properties and then click Advanced System Settings then go to the advanced tab and click Environment Variables then double click on Path click new and add the following as a new Variable C:\Users\Username\AppData\Roaming\npm then press enter and click on the new Variable and move it to the top like shown in the image then click ok from there restart your IDE/Terminal and then type slappey and it should work!
Note: I have found that if you try this in windows power shell it wont work at least it never for me and it only worked in default command prompt
Hope this fixes anyone else issue and have a good day
Need help with other issues message me on discord Achutaine#6778
-Achutaine
try to write: npm install -g slappey
So I have run the install command for slappey on my machine.
npm i -g slappey
and it wont run when i type slappey into the cmd shell.
I get the following error. I am unaware if this is a system or a slappey issue or whether there is a fix to this or not.
Please note that this worked about 3 months ago on a different project and now I have issues.
=== ERROR ===