Closed
Description
🐛 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
© 版本信息
- ant-design-charts 2.2.3
- "@ant-design/plots": "2.3.2"
Metadata
Metadata
Assignees
Labels
No labels