title: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in@babel/helper-compilation-targets/package.json
body: <p>Recently, I got unexpected problem when deploying my Ruby on Rails app
  to Heroku:</p>
  
  <pre><code>Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in node_modules/@babel/helper-compilation-targets/package.json
  </code></pre>
  
  <p>To be honest, I do not have any idea because I did not touch any javascript code at all, does anyone encounter this error and resolved it?</p>
  
  <p>Here is the full logs:
  <a href="https://gist.github.com/johnvmo/b3340f541cf32cb0c15ecbffc1aca6f9" rel="noreferrer">https://gist.github.com/johnvmo/b3340f541cf32cb0c15ecbffc1aca6f9</a></p>
  
  <p>I am very appreciated if someone can help.</p>