問題:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
解決:
進入項目目錄,運行命令:
npm install --save-dev node-sass
網上方法:(未測試)
npm rebuild node-sass