module.js:549 throw err;

解决方法:

1、有可能是拼写错误

2、未明原因。

  (1)删除 node_modules 文件夹

  (2)cnpm cache clean,不过提示错误就用 cnpm cache clean --force

  (3)cnpm install

  如果还是显示错误就检查自己的代码有没有拼错的。

  

原文地址:https://www.cnblogs.com/-xiao/p/10643651.html