Skip to content

next.js 使用 antv [email protected] 报错 Error [ERR_REQUIRE_ESM] #5089

Answered by Jackeriss
Jackeriss asked this question in Q&A
Discussion options

You must be logged in to vote

package.json 中指定d3-interpolate版本可暂时解决

"resolutions": {
    "d3-interpolate": "2.0.1"
},

Replies: 8 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by hustcc
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@suwu150
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@suwu150
Comment options

@gyt95
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants
Converted from issue

This discussion was converted from issue #4493 on May 25, 2023 06:13.