Sass报Error: ENOENT: no such file or directory, scandir '**/node_modules/node-sass/vendor'

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

解决方法:

先安装完node-sass看看行不行, 不行的话, 执行:

npm rebuild node-sass

不行的, 运行:

npm update
npm install
node node_modules/node-sass/scripts/install.js
npm rebuild node-sass
npm rebuild gulp-sass

    原文作者:寒枫Alex
    原文地址: https://www.jianshu.com/p/41a69228a1cc
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞