Comment 1 for bug 1812767

Revision history for this message
Paul Collins (pjdc) wrote :

It seems we're deploying from the master branch, which probably isn't what we want. Said branch also seems to be broken at present (or we have a dependency mismatch somewhere).

[2019-01-22T03:43:33.510227 #15489] INFO -- : Writing /srv/discourse/2019012203295822/public/assets/docs/yuidoc-15ccfbcbae101060b3998aa1cb2a9d148b96f81255484f265a5a883d05002f00.json',
'1004.807567869 Compressing: vendor-3eae3eec8fba033cb1b5af6c103a5b8781caa69cf97fe7773ba89ba68980b263.js',
'rake aborted!',
'Uglifier::Error: Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).',
"/var/lib/gems/2.5.0/gems/uglifier-4.1.11/lib/uglifier.rb:234:in `parse_result'",
"/var/lib/gems/2.5.0/gems/uglifier-4.1.11/lib/uglifier.rb:216:in `run_uglifyjs'",
"/var/lib/gems/2.5.0/gems/uglifier-4.1.11/lib/uglifier.rb:178:in `compile_with_map'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:102:in `compress_ruby'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:149:in `compress'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:191:in `block (4 levels) in <top (required)>'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:161:in `block in concurrent?'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:184:in `block (3 levels) in <top (required)>'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:175:in `each'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:175:in `block (2 levels) in <top (required)>'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:161:in `concurrent?'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:171:in `block in <top (required)>'",
"/var/lib/gems/2.5.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'",
"/usr/bin/bundle:30:in `block in <main>'",
"/usr/bin/bundle:22:in `<main>'", 'Tasks: TOP => assets:precompile', '(See full trace by running task with --trace)']