Closed wlnirvana closed 4 years ago
I also had this problem. In addition to the change above, I also needed to update
config.assets.js_compressor = :uglifier
to
config.assets.js_compressor = Uglifier.new(harmony: true)
in
/local/Autolab/config/environments/production.rb
Yeah I forgot to mention exactly that. Thanks for the update @travers-rhodes :+1:
Upgrading to 3.2.0 resolved the issue.
Do you mind explaining how to tell the Docker image to run bundle install after changing Gemfile.lock to update uglifier?
@copperx Sorry I was using a manual installation of Autolab, not the docker version.
Closed by #1144
It seems the slickgrid js library uses some ES6 syntax, causing uglifier to throw the following error during assets precompiling.
Upgrading to 3.2.0 resolved the issue.