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
Problem Statement - Getting the below error in cypress dashboard when tests are run
SyntaxError: 'import' and 'export' may appear only with 'sourceType: module'
at S. (:4363:61454)
at Object.onceWrapper (node:events:629:26)
at S.emit (node:events:514:28)
at S.emit (:4363:51050)
at ChildProcess. (:4363:50477)
at ChildProcess.emit (node:events:514:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
Issue explanation -
installing the package 'cypress-ag-grid' and adding the import in support/e2e.ts file is giving the error when tests are run.
Framework Details - Using Typescript and integrating with '@badeball/cypress-cucumber-preprocessor'
The text was updated successfully, but these errors were encountered:
Hi @DarshanS4444 ! Apologies for the delay in responding, I have been preoccupied with other projects at the moment and haven't been able to revisit the issues on this one just yet. There was another thread where others were experiencing the same issue, and appears to possibly be related to the preprocessor: #9
I would need to dig in a bit to see the true root cause, however. In the meantime, I'm welcoming PRs and will review each one ASAP!
Problem Statement - Getting the below error in cypress dashboard when tests are run
SyntaxError: 'import' and 'export' may appear only with 'sourceType: module'
at S. (:4363:61454)
at Object.onceWrapper (node:events:629:26)
at S.emit (node:events:514:28)
at S.emit (:4363:51050)
at ChildProcess. (:4363:50477)
at ChildProcess.emit (node:events:514:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
Issue explanation -
installing the package 'cypress-ag-grid' and adding the import in support/e2e.ts file is giving the error when tests are run.
Framework Details - Using Typescript and integrating with '@badeball/cypress-cucumber-preprocessor'
The text was updated successfully, but these errors were encountered: