You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
excluded from capture: DSN not set
rake aborted!
Uglifier::Error:
After a lot of trial and error and debugging I was able to deduce the issue to be this syntax:
var [defaultsRes, selectedData] = await Promise.all(reqs);
The code ran as expected in development but could not be handled by the prod uglifier settings (noted above). Switching to the following fixed things for me:
var responses = await Promise.all(reqs);
var defaultsRes = responses[0];
var selectedData = responses[1];
Thanks!
The text was updated successfully, but these errors were encountered:
Anything happening on this issue? I just ran into the same problem. No error message or line number so I had to remove pieces of my JS code to narrow down where Uglifier failed. Turned out to be a destructuring statement.
Hi there,
Version (4.2.0)
My JS compressor settings are this:
On
rake assets:precompile
I get this error:After a lot of trial and error and debugging I was able to deduce the issue to be this syntax:
The code ran as expected in development but could not be handled by the prod uglifier settings (noted above). Switching to the following fixed things for me:
Thanks!
The text was updated successfully, but these errors were encountered: