[root@zexu websocket_start]# npm ls -g installed npm WARN ls doesn\'t take positional args. Try the \'search\' command npm WARN websocket-server@1.4.04 package.json: bugs
Have you installed the module with the -g option? I think that not every module is meant to be installed globally, instead, try installing it locally for the project you are creating (npm install), and check if the error persists.
you have installed the module global go to your app and try this to link the global to your application folder
sudo npm link <MODULeNAME>