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
remix 项目 /project/workspace/node_modules/@antv/g2/lib/transform/utils/order.js:4 const d3_array_1 = require("d3-array"); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /project/workspace/node_modules/d3-array/src/index.js from /project/workspace/node_modules/@antv/g2/lib/transform/utils/order.js not supported. Instead change the require of index.js in /project/workspace/node_modules/@antv/g2/lib/transform/utils/order.js to a dynamic import() which is available in all CommonJS modules. at Object.<anonymous> (/project/workspace/node_modules/@antv/g2/lib/transform/utils/order.js:4:20)
🐛 bug 描述 [详细地描述 bug,让大家都能理解]
remix 项目
/project/workspace/node_modules/@antv/g2/lib/transform/utils/order.js:4 const d3_array_1 = require("d3-array"); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /project/workspace/node_modules/d3-array/src/index.js from /project/workspace/node_modules/@antv/g2/lib/transform/utils/order.js not supported. Instead change the require of index.js in /project/workspace/node_modules/@antv/g2/lib/transform/utils/order.js to a dynamic import() which is available in all CommonJS modules. at Object.<anonymous> (/project/workspace/node_modules/@antv/g2/lib/transform/utils/order.js:4:20)
💻 复现代码 [提供可复现的代码,仓库,或线上示例]
https://codesandbox.io/p/sandbox/ant-design-charts-gmtvt2
© 版本信息
The text was updated successfully, but these errors were encountered: