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
When we try to require @tronscan/client/src/utils/tronWeb.js, we get syntax errors on Node.js. It turns out that the same file can't contain ES6 export statements and CommonJS require statements, or various build tools will break.
We are currently using patch-package to patch @tronscan/client@0.2.81. Here is the diff we are using:
When we try to
require
@tronscan/client/src/utils/tronWeb.js, we get syntax errors on Node.js. It turns out that the same file can't contain ES6export
statements and CommonJSrequire
statements, or various build tools will break.We are currently using patch-package to patch
@tronscan/client@0.2.81
. Here is the diff we are using:Of course, we would love to get this fix upstream.
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: