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

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. (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


你可能感兴趣的:(web前端)