Skip to content

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

Open
@psinha6

Description

@psinha6

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions