Created
July 24, 2020 10:39
-
-
Save jiangdi0924/2f0f4a6e226bcd3d621e20c3212bf2ba to your computer and use it in GitHub Desktop.
Revisions
-
jiangdi0924 created this gist
Jul 24, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ ## 最近在维护几个Windows server部署pm2遇到问题 ###解决方案: 确认环境变量PATH里面是否包含: C:\Users\当前的用户名\AppData\Roaming\npm ### 如果包含npm环境变量还是not found怎么办? 粗暴的解决办法, 除了 “C:\Users\当前的用户名\AppData\Roaming\npm” 这条以外的环境变量全都删除。(对我来说这是有效的)