phoenixframework / phoenix_live_view

Rich, real-time user experiences with server-rendered HTML
https://hex.pm/packages/phoenix_live_view
MIT License
6.18k stars 930 forks source link

Heroku deployment build fails #100

Closed pkrawat1 closed 5 years ago

pkrawat1 commented 5 years ago

When

What

remote: yarn install v0.27.5
remote: (node:880) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
remote: [1/4] Resolving packages...
remote: [2/4] Fetching packages...
remote: warning fsevents@1.2.7: The platform "linux" is incompatible with this module.
remote: info "fsevents@1.2.7" is an optional dependency and failed compatibility check. Excluding it from installation.
remote: [3/4] Linking dependencies...
remote: error An unexpected error occurred: "EACCES: permission denied, open '/tmp/build_d3ffd784ad305ede7445c60ebedeed3a/assets/node_modules/phoenix_live_view/.git/objects/pack/pack-bc73c7e0f1a1db8f2e850b13716ff1164b99fa11.idx'".
remote: info If you think this is a bug, please open a bug report with the information provided in "/tmp/build_d3ffd784ad305ede7445c60ebedeed3a/assets/yarn-error.log".
remote: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
remote:  !     Push rejected, failed to compile Phoenix app.
remote:
remote:  !     Push failed
pkrawat1 commented 5 years ago

Closing this, as for now copied the phoenix live js and morphdom to assets. So deployment is working. I think this will be resolved when the hex package is avialable.

cpjolicoeur commented 5 years ago

This is still an ongoing issue, btw

yarn install v1.16.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 21.74s.
cp: cannot create regular file '/app/tmp/cache/node_modules/phoenix_live_view/.git/objects/pack/pack-56c0116a1ed02743a5c6dacb1a5a85c9e91ea20c.idx': Permission denied
cp: cannot create regular file '/app/tmp/cache/node_modules/phoenix_live_view/.git/objects/pack/pack-56c0116a1ed02743a5c6dacb1a5a85c9e91ea20c.pack': Permission denied
 !     Push rejected, failed to compile Phoenix app.
 !     Push failed

Is there an ETA when we might get an official package?