PS C:\Users\user\Desktop\test\my-project> npm run iview --save npm ERR! missing script: iview npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\--15T06_36_34_825 Z-debug.log PS C:\Users\user\D…
前言 今天突然发现npm无法使用了,执行任何命令都报如下错误: npm ERR! code MODULE_NOT_FOUND npm ERR! Cannot find module 'internal/util/types' npm ERR! A complete log of this run can be found in: npm ERR! /Users/xxcanghai/.npm/_logs/2018-01-05T08_07_43_208Z-debug.log 后来排查得知原因是因为升…