Skip to content

npm dependency install failure #52

@gs-scooter

Description

@gs-scooter

I'm attempting to run lambdatest-cypress on an Angular 12 project locally via un UnderPass tunnel using the latest Cypress version (8.3.0). Currently, I have one test spec defined with a simple assertion. The test succeeds as expected via Cypress CLI (npx cypress run). When running via lambdatest-cypress, the test fails on the LT dashboard every time with:

npm dependencies installation failed for the test

npm install from package.json failed, due to : npm WARN tar ENOENT: no such file or directory, open 'E:\lambda-node-remote-client\SOME_GUID\project\node_modules\.staging\zone.js-e8b71491\dist\zone-node.min.js'

followed by a ton of additional similar warnings for different libs.

Below is the config being used:

{
  "lambdatest_auth": {
    "username": "<name>",
    "access_key": "<key>"
  },
  "browsers": [
    {
      "browser": "Chrome",
      "platform": "Windows 10",
      "versions": ["86.0"]
    }
  ],
  "run_settings": {
    "cypress_config_file": "cypress.json",
    "build_name": "local-dev",
    "parallels": 1,
    "specs": "./cypress/integration/**/*.spec.ts",
    "ignore_files": "",
    "feature_file_suppport": false,
    "network": false,
    "npm_dependencies": {
      "cypress": "8.3.0"
    }
  },
  "tunnel_settings": {
    "tunnel": true,
    "tunnel_name": "lt-cypress-tunnel"
  }
}

Any ideas as to what could be causing this?

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