Skip to content
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

npm ERR! 503 on browserstack side #704

Open
ernestosolis-discovery opened this issue Sep 20, 2023 · 4 comments
Open

npm ERR! 503 on browserstack side #704

ernestosolis-discovery opened this issue Sep 20, 2023 · 4 comments

Comments

@ernestosolis-discovery
Copy link

ernestosolis-discovery commented Sep 20, 2023

Facing an error on the browserstack side when running browserstack-cli run

The only information shown about the error is:

npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code E503
Screen Shot 2023-09-20 at 15 12 48

error persists with no deps in the project:

"dependencies": {
  },
  "devDependencies": {
  }

using cypress version: 12.1.0
and browserstack-cypress-cli: 1.25.3

tested with an official cypress project using typescript and got the same results:

https://github.com/cypress-io/cypress-realworld-testing-course-app/tree/final

{
    "auth": {
        "username": "",
        "access_key": ""
    },
    "browsers": [
        {
            "browser": "chrome",
            "os": "OS X Catalina",
            "versions": [
                "latest"
            ]
        }
    ],
    "run_settings": {
        "cypress_config_file": "cypress.config.ts",
        "project_name": "project-name",
        "build_name": "build-name",
        "exclude": [],
        "parallels": "1",
        "npm_dependencies": {},
        "package_config_options": {},
        "headless": false
    },
    "connection_settings": {
        "local": false,
        "local_identifier": null,
        "local_mode": null,
        "local_config_file": null
    },
    "disable_usage_reporting": false
}
@sharutkarsh
Copy link

Hi There,

Are you getting the similar result when testing it locally (not on Browserstack) with the same cypress version ?

@ernestosolis-discovery
Copy link
Author

@sharutkarsh no I'm only facing this issue using browserstack-cli run,
npm works fine locally and I'm able to run the project locally too without issues

@sharutkarsh
Copy link

Please raise a support ticket here
https://www.browserstack.com/contact#technical-support

Do share the build /session link and your sample code for debugging.

Also share if it was working before with some other cypress versions or other configuration.

@ernestosolis-discovery
Copy link
Author

@sharutkarsh I'll do thanks,

this NPM 503 issue happened for this browser config:

{
      "browser": "chrome",
      "os": "OS X Catalina",
      "versions": ["latest"]
}

then I switched to a windows 10 one, and works fine all the time so far:

{
      "browser": "chrome",
      "os": "Windows 10",
      "versions": ["latest"]
    }

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

2 participants