Skip to content

problem while running browserstack-cypress run --sync #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
psinha6 opened this issue May 3, 2025 · 0 comments
Open

problem while running browserstack-cypress run --sync #4

psinha6 opened this issue May 3, 2025 · 0 comments

Comments

@psinha6
Copy link

psinha6 commented May 3, 2025

Browserstack is unable to identify ts file and only needs js file for cypress

The following configuration option is invalid:

 - videoUploadOnPasses

https://on.cypress.io/configuration



DevTools listening on ws://127.0.0.1:3085/devtools/browser/a10a151e-710a-4b8d-be5e-b690225a807c

Your configFile is invalid: .\cypress.config.ts

It threw an error when required, check the stack trace below:


TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for .\cypress.config.ts
    at new NodeError (internal/errors.js:322:7)
    at Loader.defaultGetFormat [as _getFormat] (internal/modules/esm/get_format.js:71:15)
    at Loader.getFormat (internal/modules/esm/loader.js:105:42)
    at Loader.getModuleJob (internal/modules/esm/loader.js:243:31)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Loader.import (internal/modules/esm/loader.js:177:17)
    at async loadFile (\cypress_package\13.15.0\win32\Cypress\resources\app\node_modules\@packages\server\lib\plugins\child\run_require_async_child.js:106:14)
    at async EventEmitter.<anonymous> (\cypress_package\13.15.0\win32\Cypress\resources\app\node_modules\@packages\server\lib\plugins\child\run_require_async_child.js:116:32)

cypress run process exited with code 1
cypress run failed, exiting with code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant