Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Provide actionable info on what is executing, and any stderr output #1

Closed
wants to merge 1 commit into from

Conversation

jonhermansen
Copy link

@jonhermansen jonhermansen commented May 22, 2022

... from the child process. My intention is to make problems like cypress-io/cypress#20774 easier to debug from the user's standpoint.

For example. with these changes under Gnome 3, I click on "View App Data", and I see this output:

[jon@archlinux cypress-repro-issue]$ ./node_modules/.bin/cypress open
[5401:0522/215836.661604:WARNING:vaapi_wrapper.cc(586)] VAAPI video acceleration not available for swiftshader
[5401:0522/215836.662568:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
Spawning: /home/jon/.cache/Cypress/9.6.1/Cypress/resources/app/node_modules/opn/xdg-open /home/jon/.config/Cypress/cy/production
Error info: /home/jon/.cache/Cypress/9.6.1/Cypress/resources/app/node_modules/opn/xdg-open: line 540: gnome-open: command not found

Error: Exited with code 4
at ChildProcess. (/home/jon/.cache/Cypress/9.6.1/Cypress/resources/app/node_modules/opn/index.js:92:13)
at Object.onceWrapper (node:events:514:26)
at ChildProcess.emit (node:events:394:28)
at maybeClose (node:internal/child_process:1067:16)
at Socket. (node:internal/child_process:453:11)
at Socket.emit (node:events:394:28)
at Pipe. (node:net:672:12)

Error: Exited with code 4
at ChildProcess. (/home/jon/.cache/Cypress/9.6.1/Cypress/resources/app/node_modules/opn/index.js:92:13)
at Object.onceWrapper (node:events:514:26)
at ChildProcess.emit (node:events:394:28)
at maybeClose (node:internal/child_process:1067:16)
at Socket. (node:internal/child_process:453:11)
at Socket.emit (node:events:394:28)
at Pipe. (node:net:672:12)

Feel free to provide any suggestions on a better approach to resolving this issue, I am all ears. I left some additional background information here.

@jonhermansen
Copy link
Author

I'm looking at alternative approaches to fixing this, based on discussion over on the cypress repo. Closing this for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant