Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slappey not running #46

Open
Orodgers141 opened this issue Jan 8, 2021 · 5 comments
Open

Slappey not running #46

Orodgers141 opened this issue Jan 8, 2021 · 5 comments

Comments

@Orodgers141
Copy link

Orodgers141 commented Jan 8, 2021

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 ===

C:\Users\Orodg\OneDrive\Documents\Discord_Bots\JS bots\V12\Tales of the outer rim>slappey
'slappey' is not recognized as an internal or external command,
operable program or batch file.
@booleans-oss
Copy link

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.

@Orodgers141
Copy link
Author

Orodgers141 commented Jan 9, 2021

C:\Users\Orodg>npm list -g --depth 0
C:\Users\Orodg\AppData\Roaming\npm
+-- [email protected]
+-- [email protected]
`-- [email protected]

appears there so...

@loveisglitchy
Copy link

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.

@AchtungScaar
Copy link

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
forgithubissueresponse
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

@GVELLS
Copy link

GVELLS commented Jan 31, 2021

try to write: npm install -g slappey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants