npm intall node-sassにエラーが発生しました.
1308 ワード
npm install node-sass:
Error: ENOENT: no such file or directory, scandir '
ode_modules\.npminstall
ode-sass\3.7.0
ode-sass\vendor'
at Error (native)
at Object.fs.readdirSync (fs.js:856:18)
at Object.getInstalledBinaries (D:\IdeaWork\code-front-jet
ode_modules\.npminstall
ode-sass\3.7.0
ode-sass\lib\extensions.js:74:13)
at foundBinariesList (
ode_modules\.npminstall
ode-sass\3.7.0
ode-sass\lib\errors.js:20:15)
at foundBinaries (
ode_modules\.npminstall
ode-sass\3.7.0
ode-sass\lib\errors.js:15:5)
at Object.module.exports.missingBinary (
ode_modules\.npminstall
ode-sass\3.7.0
ode-sass\lib\errors.js:45:5)
at Object. (
ode_modules\.npminstall
ode-sass\3.7.0
ode-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. (
ode_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