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

Error: spawn UNKNOWN #27949

Closed
fid37is opened this issue Oct 1, 2023 · 5 comments
Closed

Error: spawn UNKNOWN #27949

fid37is opened this issue Oct 1, 2023 · 5 comments
Labels
stale no activity on this issue for a long period

Comments

@fid37is
Copy link

fid37is commented Oct 1, 2023

Current behavior

Can't run npx cypress open command. I keep getting this Error: spawn UNKNOWN.

Desired behavior

No response

Test code to reproduce

\cypress-tau-course>npx cypress open
An unexpected error occurred while verifying the Cypress executable.

Please search Cypress documentation for possible solutions:

https://on.cypress.io

Check if there is a GitHub issue describing this crash:

https://github.com/cypress-io/cypress/issues

Consider opening a new issue.


Error: spawn UNKNOWN


Platform: win32 (10.0.22621)
Cypress Version: 6.6.0

C:\Users\agbap\cypress-tau-course>

Cypress Version

6.6.0

Node version

latest

Operating System

win 11

Debug Logs

No response

Other

No response

@jennifer-shehane
Copy link
Member

@fid37is Are you sure you’re using Cypress 6.6.0? Because this is an extremely old version. Please try updating to our latest version. We don’t patch fixes back to this version.

@MikeMcC399
Copy link
Contributor

@fid37is

  • Another user reported a similar issue and mentioned that Windows Group Policy was blocking the execution of Cypress (Error spawn UNKNOWN during #20842 (comment)). You might like to investigate if that applies to your machine and if you need to get Cypress whitelisted.
  • You will probably get the same error message if you try to execute npx cypress verify
  • It looks like you are using https://github.com/filiphric/cypress-tau-course. Although this uses a legacy version "cypress": "^6.6.0" it will normally start.
  • To fill in the details, what version of Node.js is displayed when you execute node --version?
  • Although training courses using legacy Cypress versions (9.x and earlier) can still teach you fundamentals. You might want to look for courses based on the current version (13.x) or a minimum of 10.x.

@MikeMcC399
Copy link
Contributor

@fid37is

Were you able to make any progress based on the previous comments?

@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Apr 4, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale no activity on this issue for a long period
Projects
None yet
Development

No branches or pull requests

4 participants