Cannot read properties of undefined (reading 'isServer')
See original GitHub issueThe problem
cypress_1 | Cannot read properties of undefined (reading ‘isServer’) cypress_1 | TypeError: Cannot read properties of undefined (reading ‘isServer’) cypress_1 | at TLSWrap.onerror (node:_tls_wrap:411:27)
Environment
- Node version: v16.14.2
@percy/cli
version: v1.2.1- Version of Percy SDK you’re using: v3.1.1
- If needed, a build or snapshot ID:
- OS version: docker FROM cypress/included:10.0.2@sha256:867475b534cd815fb434e9222af4bc3da5152632077c91fc4b6d0497563ecff3
- Type of shell command-line [interface]:
Details
Occasionally during screenshot upload to percy I am getting the following error which terminates the cypress run with an exit code of 1
Issue Analytics
- State:
- Created a year ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
How to resolve (reading 'isServer') error in npm?
Catch this error after npm i. Version npm - 8.0.0, nodejs - 16.11.0. npm ERR! Cannot read properties of undefined ...
Read more >Cannot read properties of undefined (reading 'isServer') #22291
Current behavior. Since upgrading to Cypress 10, we are getting crashes in our CI with the following error: Cannot read properties of undefined...
Read more >error Cannot read properties of undefined (reading 'isServer')
I am setting up JSS (NextJS) application following https://miguelminoldo.fr/2021/10/18/deploying-sitecore-jss-next-vercel/.
Read more >npm err! cannot read properties of undefined ... - Code Grepper
Cannot read properties of undefined (reading 'isServer') //if you have the error above just turn off any of your virtual servers.
Read more >cannot read properties of undefined (reading 'has') - You.com
Undefined means that a variable has been declared but has not been assigned a value. In JavaScript, properties and functions can only belong...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It appears it could be a cypress issue https://github.com/cypress-io/cypress/issues/22291
Resolved in cypress v10.4.0