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

Cannot read properties of undefined (reading 'id') #1435

Closed
martakarwacka opened this issue Nov 19, 2023 · 1 comment
Closed

Cannot read properties of undefined (reading 'id') #1435

martakarwacka opened this issue Nov 19, 2023 · 1 comment

Comments

@martakarwacka
Copy link

If any of the tests fails, no screenshots are uploaded to the Percy dashboard. For screenshots to be visible, all tests must have a pass status. The error I get:

TypeError: Cannot read properties of undefined (reading 'id')
at ChildProcess. (file:.../node_modules/@percy/cli-exec/dist/exec.js:137:52)
at ChildProcess.emit (node:events:514:28)
at cp.emit (...\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)

I tried:

  • remove node_modules and add them again
  • nodejs upgrade/downgrade
  • upgrade/downgrade Percy version
@itsjwala
Copy link
Contributor

Please share a reproducible sample, current information isn't helpful for us to help.

Going ahead and closing this issue, you can create a fresh issue following our issue template.

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