【发布时间】:2020-09-16 18:36:29
【问题描述】:
最近,我在部署 Ruby on Rails 应用程序时遇到了意想不到的问题 到 Heroku:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in node_modules/@babel/helper-compilation-targets/package.json
说实话,我没有任何想法,因为我根本没有接触任何javascript代码,有人遇到这个错误并解决了吗?
这是完整的日志: https://gist.github.com/johnvmo/b3340f541cf32cb0c15ecbffc1aca6f9
如果有人可以提供帮助,我将不胜感激。
【问题讨论】:
-
我很喜欢这个link
I had the similar problem. npm install @babel/helper-compilation-targets --save-dev solved this situation中的第二个答案
标签: javascript heroku babeljs