Project

General

Profile

Actions

Bug #21857

closed

uglifier 4.x fails to precompile assets

Added by Anonymous almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
JavaScript stack
Target version:
Fixed in Releases:
Found in Releases:

Description

[...]
10:50:09 I, [2017-12-04T10:50:09.317696 #3386]  INFO -- : Writing /var/lib/workspace/workspace/packaging_build_deb_coreproject/arch/x86/label/debian/os/stretch/debian/stretch/build-foreman/foreman-1.17.0/public/assets/compute_resources/vmware/nic_info-0c13e72d49157c9e5a2df17cbf5ef2d5c69df57463c106ae0c513c7f3709c553.js
10:50:09 I, [2017-12-04T10:50:09.318479 #3386]  INFO -- : Writing /var/lib/workspace/workspace/packaging_build_deb_coreproject/arch/x86/label/debian/os/stretch/debian/stretch/build-foreman/foreman-1.17.0/public/assets/compute_resources/vmware/nic_info-0c13e72d49157c9e5a2df17cbf5ef2d5c69df57463c106ae0c513c7f3709c553.js.gz
10:50:09 rake aborted!
10:50:09 Uglifier::Error: Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
10:50:09 /var/lib/gems/2.3.0/gems/uglifier-4.0.1/lib/uglifier.rb:237:in `parse_result'
10:50:09 /var/lib/gems/2.3.0/gems/uglifier-4.0.1/lib/uglifier.rb:219:in `run_uglifyjs'
10:50:09 /var/lib/gems/2.3.0/gems/uglifier-4.0.1/lib/uglifier.rb:169:in `compile'
[...]
Actions #1

Updated by The Foreman Bot almost 7 years ago

  • Pull request https://github.com/theforeman/foreman/pull/5053 added
Actions #2

Updated by Anonymous almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Anonymous over 6 years ago

  • Related to Bug #22711: Webpack uglifier errors out added
Actions #4

Updated by Anonymous over 6 years ago

  • Related to deleted (Bug #22711: Webpack uglifier errors out)
Actions #5

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman/pull/5399 added
Actions

Also available in: Atom PDF