Getting 'import/export' error when running tests through Docker #21548
-
Hello, I am trying to run Cypress (TypeScript) using docker-compose but getting this error - This happens when trying to import a class to the spec file. Note: this works fine when running tests through I have created a reproducible example here - |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Seems like the image didn't have typescript installed. So I built a custom image with typescript and passed that to Docker compose and now it seems to be working. |
Beta Was this translation helpful? Give feedback.
Seems like the image didn't have typescript installed. So I built a custom image with typescript and passed that to Docker compose and now it seems to be working.