jdx / mean-sample

Sample project for Write Modern Web Apps with the MEAN Stack by Jeff Dickey
https://mean-sample.herokuapp.com
165 stars 90 forks source link

wscat is not found : CH09 #31

Open fkkcloud opened 9 years ago

fkkcloud commented 9 years ago

Hi,

I'm in middle of CH09,

trying to run wscat command from terminal..

I installed,

npm install --save ws sudo npm install --global ws

somehow, -bash: wscat: command not found

What would be cause

calumpeak commented 8 years ago

He failed to mention that you need the wscat package installed in this section.

npm install -g wscat

Should solve your issue. This will install wscat into the global space. As with all global installs, if you get error, throw it a sudo.

sudo npm install -g wscat

Suryakiran270199 commented 2 years ago

thank you , sudo npm install -g wscat command is working ,but install wscat on your project node_modules folder