stuyy / slappey

Discord Bot Project Generator
219 stars 50 forks source link

Running Issue #38

Open alertoncord opened 3 years ago

alertoncord commented 3 years ago

I was trying to install slappey by running 'npm install -g slappey'. The Installation Succeeded but I still get an error: 'env: node\r: No such file or directory'. (i am on macos and have npm and node)

ColeTownsend commented 3 years ago

Experienced the same issue using yarn + Node 14 and yarn + Node 12

WheresChill commented 3 years ago

Did you install the node . path? Cause if you didn't then you have too...

alertoncord commented 3 years ago

Did you install the node . path? Cause if you didn't then you have too...

Yes I did install the node .path, but it didnt help.

loveisglitchy commented 3 years ago

@ColeTownsend @sorryIwonbtwYT8448 Can you update to the latest version of NodeJS and see if it helps?

alertoncord commented 3 years ago

@ColeTownsend @sorryIwonbtwYT8448 Can you update to the latest version of NodeJS and see if it helps?

I am already on the latest version of NodeJS which is 15.11.0 for MacOS.

loveisglitchy commented 3 years ago

Completely Uninstall node and npm. Reinstall as sudo rather than normal install. After successful install, use sudo (in terminal) to update and upgrade npm and nvm. Then install the dev version of node and npm. After all said and done, use sudo to install slappey globally.

alertoncord commented 3 years ago

Completely Uninstall node and npm. Reinstall as sudo rather than normal install. After successful install, use sudo (in terminal) to update and upgrade npm and nvm. Then install the dev version of node and npm. After all said and done, use sudo to install slappey globally.

unfortunately this did not work, i still get the 'env: node\r: No such file or directory' error.

Wys2 commented 3 years ago

Hey there. I found a temp solution for this (Not very convenient) Once u globally installed slappy, you run this in your terminal : node /Users/<Your Username>/node_modules/slappey Then hit enter. Not very convenient, but it work.