Closed mcarlotta closed 1 year ago
👏 Thanks for the help!
Noting: Publishing will not work. Transpiler is seeking a different kind of code
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/mcarlotta/Desktop/projects/libs/cypress-antd/node_modules/@wisersolutions/transpile-js/node_modules/chalk/source/index.js from /Users/mcarlotta/Desktop/projects/libs/cypress-antd/node_modules/@wisersolutions/transpile-js/index.js not supported.
Instead change the require of /Users/mcarlotta/Desktop/projects/libs/cypress-antd/node_modules/@wisersolutions/transpile-js/node_modules/chalk/source/index.js in /Users/mcarlotta/Desktop/projects/libs/cypress-antd/node_modules/@wisersolutions/transpile-js/index.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/Users/mcarlotta/Desktop/projects/libs/cypress-antd/node_modules/@wisersolutions/transpile-js/index.js:8:15) {
code: 'ERR_REQUIRE_ESM'
}
Description
Please include a summary of the change and which issue is fixed.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Checklist:
Note
this is the default template and can be overwritten as stated here