node-sass:Error: ENOENT: no such file or directory, scandir

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_26744901/article/details/78415989
Error: ENOENT: no such file or directory, scandir 'F:\express-vue-mvc-starter\node_modules\node-sass\vendor'
    at Object.fs.readdirSync (fs.js:911:18)
    at Object.getInstalledBinaries (F:\express-vue-mvc-starter\node_modules\node-sass\lib\extensions.js:124:13)
    at foundBinariesList (F:\express-vue-mvc-starter\node_modules\node-sass\lib\errors.js:20:15)
    at foundBinaries (F:\express-vue-mvc-starter\node_modules\node-sass\lib\errors.js:15:5)
    at Object.module.exports.missingBinary (F:\express-vue-mvc-starter\node_modules\node-sass\lib\errors.js:45:5)
    at module.exports (F:\express-vue-mvc-starter\node_modules\node-sass\lib\binding.js:15:30)
    at Object.<anonymous> (F:\express-vue-mvc-starter\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (module.js:624:30)
    at Module._extensions..js (module.js:635:10)
    at Object.require.extensions.(anonymous function) [as .js] (F:\express-vue-mvc-starter\node_modules\babel-register\lib\node.js:152:7)

睡觉解决办法:

npm rebuild node-sass


展开阅读全文

没有更多推荐了,返回首页