解决 Error: ENOENT: no such file or directory, scandir ‘…/node_modules/node-sass/vendor’

在执行完了
npm install
bower install
之后执行
gulp serve 之后出现
Error: ENOENT: no such file or directory, scandir ‘/home/zpz/node_modules/node-sass/vendor’
的错误
我们可以通过重建 node-sass 来解决,执行以下命令
npm rebuild node-sass

历史搜索记录:

Post a Comment

Your email is never shared. Required fields are marked *

*
*