出现这个错误的原因是因为我降级npm的时候,安装出现错误。 重新npm install npm -g之后,问题解决。 转载于:https://www.cnblogs.com/xiaodashu/p/9314415.html