Recently, I got unexpected problem when deploying my Ruby on Rails app to Heroku:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in node_modules/@babel/helper-compilation-targets/package.json
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?
Here is the full logs: https://gist.github.com/johnvmo/b3340f541cf32cb0c15ecbffc1aca6f9
I am very appreciated if someone can help.