npm run productionが通らない
1 --progress オプションは切る
Heroku のビルド時に npm run productionするとコケる。
中に入って npm run production しても普通に実行できるのに…
エラーログには以下のような記録が
couldn't write 83961 items to stdout: Resource temporarily unavailable
こういうときには、 --progressオプションを外すと良い。
i had the same issue, try to remove the --progress flag from webpack command, its worked for me.
looks like heroku stop and failed the build if its prints too many logs.
とのこと。
2 node-sass は rebuild する。
Error: ENOENT: no such file or directory, scandir '**/node_modules/node-sass/vendor'
のエラーで詰む。
node node_modules/node-sass/scripts/install.js
npm rebuild node-sass
こちらの2つを実行すればOK