当我尝试运行laravel-echo-server时,init无法识别命令?

时间:2018-11-07 12:52:57

标签: laravel redis socket.io laravel-echo

$ npm install -g laravel-echo-server
C:\Users\mar3y\AppData\Roaming\npm\laravel-echo-server -> C:\Users\mar3y\AppData\Roaming\npm\node_modules\laravel-echo-server\bin\server.js

> spawn-sync@1.0.15 postinstall C:\Users\mar3y\AppData\Roaming\npm\node_modules\laravel-echo-server\node_modules\spawn-sync
> node postinstall

+ laravel-echo-server@1.4.2
added 233 packages and updated 1 package in 34.78s

mar3y@mar3y-PC MINGW64 /c/xampp/htdocs/chat (master)
$ laravel-echo-server init
bash: laravel-echo-server: command not found

screenshot of console

0 个答案:

没有答案