Getting error about TypeScript not being installed when running Cypress tests. How to fix this?

I’m running Cypress tests on LambdaTest using TypeScript, but I’m getting an error about TypeScript not being installed. It works locally. How can I fix this?

Hi Mark,

To resolve this issue, you need to pass the TypeScript dependency in the lambdatest-config.json under the npm_dependency object.

Alternatively, you can remove the npm_dependency object from the lambdatest-config.json file, allowing dependencies to be picked from package.json directly.