Content
Error deploying on Heroku
Added by Kifaranga Kompyuta about 5 years ago
Hey,
I am deploying on dokku which is very similar to heroku. Unfortunately when I push to the server I get the error precompiling assets failed as it was unable to compile the angular front end. Any pointers on resolving this?
-----> Installing node-v10.15.3-linux-x64
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
Linking frontend plugins
npm run build
W, [2019-10-02T16:44:43.754375 #352] WARN -- : hook registered
Cleaning linked target directory /tmp/build/frontend/src/app/modules/plugins/linked
Linking frontend of OpenProject plugin openproject-avatars to /tmp/build/frontend/src/app/modules/plugins/linked/openproject-avatars.
Linking frontend of OpenProject plugin openproject-costs to /tmp/build/frontend/src/app/modules/plugins/linked/openproject-costs.
Linking frontend of OpenProject plugin openproject-documents to /tmp/build/frontend/src/app/modules/plugins/linked/openproject-documents.
Regenerating frontend plugin registry /tmp/build/frontend/src/app/modules/plugins/linked-plugins.module.ts.
Building angular frontend
rake aborted!
Failed to compile angular frontend: 127
/tmp/build/lib/tasks/assets.rake:66:in `block (4 levels) in <top (required)>'
/tmp/build/lib/tasks/assets.rake:65:in `block (3 levels) in <top (required)>'
/tmp/build/lib/tasks/assets.rake:64:in `chdir'
/tmp/build/lib/tasks/assets.rake:64:in `block (2 levels) in <top (required)>'
/tmp/build/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => assets:precompile => assets:compile_environment => assets:prepare_op => assets:angular
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
Replies (3)
Hi I am also facing the same issue, is there anybody who can help?
Got the same error. Have anyone solved it?
I am also getting this error, any recommendations for a solution?