为什么不播放ws@7.2.5错误中的pm2

问题描述

我想以管理员身份将pm2安装到我的cmd或powershell中,但是它不起作用 我安装了bufferutil@4.0.1和utf-8-validate@5.0.2,但是它不起作用 我不知道怎么玩pm2 ps我使用窗口10和vscode

C:\Users\user\Desktop\abc>npm install pm2 -g pm2@latest
C:\Users\user\AppData\Roaming\npm\pm2-dev -> C:\Users\user\AppData\Roaming\npm\node_modules\pm2\bin\pm2-dev
C:\Users\user\AppData\Roaming\npm\pm2 -> C:\Users\user\AppData\Roaming\npm\node_modules\pm2\bin\pm2
C:\Users\user\AppData\Roaming\npm\pm2-docker -> C:\Users\user\AppData\Roaming\npm\node_modules\pm2\bin\pm2-docker
C:\Users\user\AppData\Roaming\npm\pm2-runtime -> C:\Users\user\AppData\Roaming\npm\node_modules\pm2\bin\pm2-runtime
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\pm2\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN ws@7.2.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.

+ pm2@4.4.1
+ pm2@4.4.1
updated 1 package in 3.165s

C:\Users\user\Desktop\abc>pm2 start app.js


'pm2' is not that the inside or outside command,the can playing the program,or the arrangement file.


'pm2'은(는) 내부 또는 외부 명령,실행할 수 있는 프로그램,또는
배치 파일이 아닙니다.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)