The question is published on by Tutorial Guruji team.
I’m running a deployment to heroku, I’m unable to produce this locally, but I’m getting this error:
Uncaught TypeError: Cannot read property 'pns_confirmRegex' of undefined
at Object.i [as check] (h1.js:150)
at HTMLDocument.<anonymous> (h1.js:62)
at l (h1.js:48)
at c (h1.js:48)
Like I know there’s an undefined
item somewhere… and if you look at the sources, it’s coming from something of h1.js
.
I’m using react with some service workers in the front-end and they are all transpiled together with webpack. Does anyone have any idea what this might be?
Answer
Check the stack trace very carefully and you should see that this probably has to do with https://github.com/facebook/react-devtools/issues/461.
I had the same error and uninstalled Honey. If you click on the links in the stack trace you should be able to look at the code and see a bunch of Regex selectors that Honey seems to employ.