webghost
webghost

Reputation: 131

When visiting cypress.io, I get Minified React error #418

Created an empty skeleton project using npx cypress open, created the file, plugged in the URL https://cypress.io/ and it is throwing an error upon executing the test. "Minified react error". Anyone else noticing this?

Cypress Version: 11.1.0 MacOs Version 12.6.1 Monterey Chrome Version 107

(uncaught exception)Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
(uncaught exception)Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
(uncaught exception)Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
(uncaught exception)Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
(uncaught exception)Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
(uncaught exception)Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
(uncaught exception)Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
(uncaught exception)Error: Minified React error #423; visit https://reactjs.org/docs/error-decoder.html?invariant=423 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
(xhr)GET 200 https://scout.salesloft.com/i
(fetch)POST 200 https://sentry.io/api/1387440/store/?sentry_key=a50ef5d924b84c02868bd16788d4f3b5&sentry_version=7
2
(xhr)POST 200 /j/collect?v=1&_v=j98&a=374461605&t=event&ni=1&_s=1&dl=https://www.cypress.io/&ul=en-us&de=UTF-8&dt=JavaScript End to End Testing Framework | cypress.io testing tools&sd=30-bit&sr=1792x1120&vp=1000x660&je=0&ec=Clearbit&ea=API Resolution&el=Reveal API - GTM&_u=YADAAEABAAAAACAAI~&jid=901020075&gjid=271599248&cid=897255695.1668729917&tid=UA-59606812-1&_gid=1763388137.1668729918&_r=1&gtm=2wgb90K8R2FS5&z=2134669599
(xhr)POST 200 https://www.google-

Upvotes: 2

Views: 3225

Answers (1)

Minchin
Minchin

Reputation: 178

There's a section in the documentation Uncaught Exceptions that explains how to turn off the error.

Basic:

Cypress.on('uncaught:exception', (err, runnable) => {
  // returning false here prevents Cypress from
  // failing the test
  return false
})

but it gives several examples, so please make sure to use one that fits your scenario.

Upvotes: 6

Related Questions