-
Notifications
You must be signed in to change notification settings - Fork 80
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
Uncaught TypeError: domNode.replaceData is not a function #148
Comments
Hi there. Do you have JSON Viewer Chrome extension installed? In my case that's what causes the issue. |
You are right! Disabling that extension helped. Didn't notice I had that extension installed on my main PC but not on the other. I don't know though should I close this ticket or not... it would be kinda lame to tell app users to disable their extensions so they could use my site... |
I suppose you are using Elm Reactor to generate that code, as suggested in the docs. You should then generate production code with Elm Make and minify it. I guess production-ready code should not be affected by the kind of issue you opened. Give it a try! |
Nope, that didn't work. I used uglifyjs as described here and updated the html file to load the minified version but enabling the JSON Viewer extension still breaks it. edit: I'm not using Elm Reactor btw. |
This issue is most likely caused by this bug in JSON Viewer. A workaround is avoiding raw text without enclosing html elements, i.e. using Leaving for others to decide whether the Uncaught TypeError and the infinite loop thing can/should be still prevented in Elm. |
Apparently Grammarly does that on Chrome as well |
Hi! I'm having an issue which might belong here.
First, the app fails to render correctly - it's supposed to be like this:
Second, the app goes into an infinite loop when I click any of the links (the console errors).
This happens with a fresh Elm 0.19 install and the code from the example app on this guide page.
elm.json looks like this:
Note: the problem only appears in a certain Google Chrome instance (but not in IE or Firfox). Also the app works correctly when I run it in incognito mode in the same Chrome instance. And also it runs fine in another computer with the same Google Chrome version (70.0.3538.110) and the same addons. Disabling the addons doesn't help. Any ideas?
The text was updated successfully, but these errors were encountered: