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

Crash when connecting to Dashboard #18129

Closed
bahmutov opened this issue Sep 16, 2021 · 6 comments · Fixed by #18146
Closed

Crash when connecting to Dashboard #18129

bahmutov opened this issue Sep 16, 2021 · 6 comments · Fixed by #18146
Labels
Cypress Cloud Feature request or issue in Cypress Cloud, not App pkg/desktop-gui This is due to an issue in the packages/desktop-gui directory type: bug

Comments

@bahmutov
Copy link
Contributor

Current behavior

Trying to connect a project to record to Cypress Dashboard

$ yarn cypress open
yarn run v1.22.10
$ /Users/glebbahmutov/git/mercari-double-helpcenter/node_modules/.bin/cypress open
TypeError: openProject.getRuns(...).then is not a function
    at IpcMainImpl.handleEvent (/Users/glebbahmutov/Library/Caches/Cypress/8.4.0/Cypress.app/Contents/Resources/app/packages/server/lib/gui/events.js:367:8)
    at apply (/Users/glebbahmutov/Library/Caches/Cypress/8.4.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/lodash/lodash.js:492:17)
    at IpcMainImpl.wrapper (/Users/glebbahmutov/Library/Caches/Cypress/8.4.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/lodash/lodash.js:5379:16)
    at IpcMainImpl.emit (events.js:315:20)
    at Object.<anonymous> (electron/js2c/browser_init.js:161:9469)
    at Object.emit (events.js:315:20)

TypeError: openProject.getRuns(...).then is not a function
    at IpcMainImpl.handleEvent (/Users/glebbahmutov/Library/Caches/Cypress/8.4.0/Cypress.app/Contents/Resources/app/packages/server/lib/gui/events.js:367:8)
    at apply (/Users/glebbahmutov/Library/Caches/Cypress/8.4.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/lodash/lodash.js:492:17)
    at IpcMainImpl.wrapper (/Users/glebbahmutov/Library/Caches/Cypress/8.4.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/lodash/lodash.js:5379:16)
    at IpcMainImpl.emit (events.js:315:20)
    at Object.<anonymous> (electron/js2c/browser_init.js:161:9469)
    at Object.emit (events.js:315:20)

✨  Done in 6.82s.

But it did write the project ID into cypress.json so at least that worked

Desired behavior

No response

Test code to reproduce

Company org, private project

Cypress Version

8.4.0

Other

No response

@bahmutov
Copy link
Contributor Author

crash.mp4

@bahmutov bahmutov added the pkg/desktop-gui This is due to an issue in the packages/desktop-gui directory label Sep 16, 2021
@adoshi-branch
Copy link

I'm also seeing this issue, I am on version 8.3.1.

@jennifer-shehane jennifer-shehane added type: bug blocking stage: investigating Someone from Cypress is looking into this labels Sep 17, 2021
@jennifer-shehane
Copy link
Member

@adoshi-branch Are you sure you're seeing this on 8.3.1? I am only seeing this on 8.4.0. Please run cypress --version and verify

@adoshi-branch
Copy link

adoshi-branch commented Sep 17, 2021

@jennifer-shehane Sorry you are correct I am on version 8.4.0

@cypress-bot cypress-bot bot added stage: work in progress stage: needs review The PR code is done & tested, needs review and removed stage: investigating Someone from Cypress is looking into this stage: work in progress labels Sep 17, 2021
@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Sep 17, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 17, 2021

The code for this is done in cypress-io/cypress#18146, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 17, 2021

Released in 8.4.1.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v8.4.1, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Sep 17, 2021
@jennifer-shehane jennifer-shehane added Cypress Cloud Feature request or issue in Cypress Cloud, not App and removed external: cloud labels Oct 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Cypress Cloud Feature request or issue in Cypress Cloud, not App pkg/desktop-gui This is due to an issue in the packages/desktop-gui directory type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants