Error: require() of ES Module [...] `buildAxis.linear.js` not supported.
lacymorrow opened this issue · comments
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.
+1
+1
+1
+1
+1
+1