npm intall node-sass出现错误

npm install node-sass:

Error: ENOENT: no such file or directory, scandir '\node_modules\.npminstall\node-sass\3.7.0\node-sass\vendor'

at Error (native)
at Object.fs.readdirSync (fs.js:856:18)
at Object.getInstalledBinaries (D:\IdeaWork\code-front-jet\node_modules\.npminstall\node-sass\3.7.0\node-sass\lib\extensions.js:74:13)
at foundBinariesList (\node_modules\.npminstall\node-sass\3.7.0\node-sass\lib\errors.js:20:15)
at foundBinaries (\node_modules\.npminstall\node-sass\3.7.0\node-sass\lib\errors.js:15:5)
at Object.module.exports.missingBinary (\node_modules\.npminstall\node-sass\3.7.0\node-sass\lib\errors.js:45:5)
at Object. (\node_modules\.npminstall\node-sass\3.7.0\node-sass\lib\index.js:14:28)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object. (\node_modules\.npminstall\gulp-sass\2.2.0\gulp-sass\index.js:186:21)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)

解决方法:

npm rebuild node-sass

你可能感兴趣的:(javascript)