gjaldon/heroku-buildpack-phoenix-static

Error during install node modules

Closed this issue · 2 comments

Hello! I'm using this buildpack with compile file containing

clean_cache=false
node_version=8.2.1
npm_verion=8.3.0

And getting the error:

remote: -----> Building dependencies
remote:        Installing and caching node modules
remote: npm ERR! May not delete: /tmp/build_64d71392f6c23caa02fdbb7eb310ea89/node_modules/.bin
remote:
remote: npm ERR! A complete log of this run can be found in:
remote: npm ERR!     /app/.npm/_logs/2017-07-28T01_57_28_739Z-debug.log
remote:  !     Push rejected, failed to compile Phoenix app.

Can you help me realise what is going wrong. Thanks!

Found relevant issue in npm npm/npm/issues/17781

Jump to yarn solved issue for me