gjaldon / heroku-buildpack-phoenix-static

A Heroku buildpack for building Phoenix's static assets
MIT License
229 stars 224 forks source link

Error during install node modules #69

Closed imamatory closed 6 years ago

imamatory commented 7 years ago

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!

imamatory commented 7 years ago

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

imamatory commented 6 years ago

Jump to yarn solved issue for me