WiserSolutions / cypress-antd

Helpers for interacting with Ant Design components in Cypress tests.
MIT License
30 stars 9 forks source link

Mcarlotta/take repo private #26

Closed mcarlotta closed 1 year ago

mcarlotta commented 1 year ago

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

nsfm commented 1 year ago

👏 Thanks for the help!

mcarlotta commented 1 year ago

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'
}