Hey guys,
did you ever get an error like this within your Meteor/React application?
Uncaught TypeError: no access
at installGlobalHook (<anonymous>:2:20)
at <anonymous>:53:6
(unknown) Uncaught TypeError: no access
at <anonymous>:10:29
at <anonymous>:58:5
www.myapp.com/:20 Uncaught TypeError: no access
at www.myapp.com/:20
e291d7f6fa2db03711223d9e231d92aa5b77b4d1.js:3 Uncaught TypeError: no access
We’re using a CDN to deliver the Meteor .js file. The script tag is implemented like this:
<script type="text/javascript" crossorigin="anonymous" src="http://cdn.myapp.com/e291d7f6fa2db03711223d9e231d92aa5b77b4d1.js?meteor_js_resource=true"></script>
The error has happened today for the first time to me. After a reload, everything worked fine again. I’m just wondering if it has something to do with some error of our Kadira logs. Since we’ve moved 2 of our applications to a CDN, we got a lot of this error message:
[client] Script error.
If I check the stacktrace, I only get a:
Error:
at window.onerror (<anonymous>:0:0)
Shouldn’t crossorigin=“anonymous”
prevent this? I guess my main question is, if the script error means, that the site couldn’t load on the user side, or if it is just a message which could be ignored?