npm update check failed

前端 未结 14 1090
太阳男子
太阳男子 2020-11-30 05:47

Last night I tried to update my node and npm, it seemed to have been successful, however ever since then I have been getting this same error any time I try and run any npm c

14条回答
  •  一整个雨季
    2020-11-30 06:02

    I had the same issue on AWS server, i used this command to update the config permissions and the npm command worked smooth.

    sudo chown -R $USER:$(id -gn $USER) ~/.config

提交回复
热议问题