Created
July 24, 2020 10:39
-
-
Save jiangdi0924/2f0f4a6e226bcd3d621e20c3212bf2ba to your computer and use it in GitHub Desktop.
windows server 部署pm2时, 报错pm2 not found
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## 最近在维护几个Windows server部署pm2遇到问题 | |
| ###解决方案: | |
| 确认环境变量PATH里面是否包含: C:\Users\当前的用户名\AppData\Roaming\npm | |
| ### 如果包含npm环境变量还是not found怎么办? | |
| 粗暴的解决办法, 除了 “C:\Users\当前的用户名\AppData\Roaming\npm” 这条以外的环境变量全都删除。(对我来说这是有效的) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment