Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: require() of ES Module [...] buildAxis.linear.js not supported. #353

Open
lacymorrow opened this issue Sep 7, 2023 · 9 comments
Open

Comments

@lacymorrow
Copy link

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/lacymorrow/repo/gridamp-next/node_modules/d3-time-format/src/index.js from /Users/lacymorrow/repo/gridamp-next/node_modules/react-charts/lib/utils/buildAxis.linear.js not supported.
Instead change the require of index.js in /Users/lacymorrow/repo/gridamp-next/node_modules/react-charts/lib/utils/buildAxis.linear.js to a dynamic import() which is available in all CommonJS modules.
@JacobWeisenburger
Copy link

+1

8 similar comments
@vbakkenes
Copy link

+1

@developersaintt
Copy link

+1

@vikaskrsharma
Copy link

+1

@ZDerekh
Copy link

ZDerekh commented Dec 14, 2023

+1

@Pietrucci-Blacher
Copy link

+1

@SahaSaurav
Copy link

+1

@viktortar98
Copy link

+1

@graylewis
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants