重新安装npm

先卸载npm:

https://stackoverflow.com/questions/20711240/how-to-completely-remove-node-js-from-windows

安装npm和重新指定npm全局目录:

https://www.cnblogs.com/liluxiang/p/9592003.html

使ps1可读:

https://blog.csdn.net/jinhaijing/article/details/85004126

你可能感兴趣的:(重新安装npm)