Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assets:precompile failed, but deploy succeeded #504

Closed
kazimzaidi opened this issue Jan 9, 2017 · 1 comment
Closed

assets:precompile failed, but deploy succeeded #504

kazimzaidi opened this issue Jan 9, 2017 · 1 comment

Comments

@kazimzaidi
Copy link

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
Copy link
Member

d4be4st commented Sep 8, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants