mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.35k stars 490 forks source link

assets:precompile failed, but deploy succeeded #504

Closed kazimzaidi closed 6 years ago

kazimzaidi commented 7 years ago

assets:precompile took very long, then failed ` rake aborted! ExecJS::ProgramError: SyntaxError: Unexpected token: operator (<) (line: 271, col: 48, pos: 10778)

   Error
       at new JS_Parse_Error (<eval>:3623:11948)
       at js_error (<eval>:3623:12167)
       at croak (<eval>:3623:22038)
       at token_error (<eval>:3623:22175)
       at unexpected (<eval>:3623:22263)
       at expr_atom (<eval>:3623:31244)
       at maybe_unary (<eval>:3624:1752)
       at expr_op (<eval>:3624:2326)
       at expr_ops (<eval>:3624:2515)
       at maybe_conditional (<eval>:3624:2615)
     (in /mnt/web/family/5amily/tmp/build-14839524754634/app/assets/javascripts/gift_cards.js)
   new JS_Parse_Error ((execjs):3623:11948)
   js_error ((execjs):3623:12167)
   croak ((execjs):3623:22038)
   token_error ((execjs):3623:22175)
   unexpected ((execjs):3623:22263)
   expr_atom ((execjs):3623:31244)
   maybe_unary ((execjs):3624:1752)
   expr_op ((execjs):3624:2326)
   expr_ops ((execjs):3624:2515)
   maybe_conditional ((execjs):3624:2615)

`

but deploy continued as if everything is just alright,

`-----> Airbrake Notification Complete. -----> Deploy finished Connection to 46.137.178.185 closed.

-----> Building -----> Moving build to /mnt/web/family/5amily/releases/11 -----> Build finished -----> Launching `

obviously leaving the server in a troubled state! Any ideas?

d4be4st commented 7 years ago

weird. I would need the complete output as i do not have the whole context