title: How to debug asset precompilation errors in Rails?
body: <p><strong>Command:</strong> <em>(ran in console on local environment)</em></p>
  
  <pre><code>RAILS_ENV=production bundle exec rake assets:precompile --trace
  </code></pre>
  
  <p><strong>What happens:</strong></p>
  
  <p>A lot of assets get precompiled. Suddenly precompilation stops with error.</p>
  
  <pre><code>I, [2017-06-08T15:31:19.726874 #31286]  INFO -- : Writing /path/jquery.min-23476(...)79529.map
      rake aborted!
      ExecJS::RuntimeError: SyntaxError: Unexpected character '`' (line: 5185, col: 10, pos: 1741977)
  
      Error
          at new JS_Parse_Error (/private/var/folders/qz/8thdm5t122s725szpkpsxcdr0000gn/T/execjs20170608-31286-1f6tv61js:3623:11948)
  </code></pre>
  
  <p>How do you approach debugging of such a challenge?</p>