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
/home/yassinedorboz/Bureau/hexastack/eazychart/node_modules/eazychart-core/dist/eazychart-core.cjs.development.js:5
var d3Scale = require('d3-scale');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/yassinedorboz/Bureau/hexastack/eazychart/node_modules/d3-scale/src/index.js from /home/yassinedorboz/Bureau/hexastack/eazychart/node_modules/eazychart-core/dist/eazychart-core.cjs.development.js not supported.
Instead change the require of index.js in /home/yassinedorboz/Bureau/hexastack/eazychart/node_modules/eazychart-core/dist/eazychart-core.cjs.development.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/yassinedorboz/Bureau/hexastack/eazychart/node_modules/eazychart-core/dist/eazychart-core.cjs.development.js:5:15)
at Object.<anonymous> (/home/yassinedorboz/Bureau/hexastack/eazychart/node_modules/eazychart-core/dist/index.js:7:20)
at async Promise.all (index 0) {
code: 'ERR_REQUIRE_ESM'
}
Browsers
No response
OS
Linux
The text was updated successfully, but these errors were encountered:
Description
I get an issue when i run the node index.js file with this code
const linearScale = new ScaleLinear([0,1,2,4,5,6],[0, 800]);
Reproduction steps
Screenshots
Logs
Browsers
No response
OS
Linux
The text was updated successfully, but these errors were encountered: