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
Getting the below error when rendering the speedometer component during unit testing
Error: require() of ES Module /node_modules/.pnpm/[email protected]/node_modules/lodash-es/isNumber.js from /node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/react-d3-speedometer/dist/core/util/index.js not supported.
Instead change the require of isNumber.js in /node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/react-d3-speedometer/dist/core/util/index.js to a dynamic import() which is available in all CommonJS modules.
Serialized Error: {
"code": "ERR_REQUIRE_ESM",
}
tamaraltahan, MatheusGalhani, aiekseu and rwilliams3088