微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决为什么不播放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 举报,一经查实,本站将立刻删除。