krvajal / use-intercom-hook

5 stars 2 forks source link

Getting a lot of errors on our bugTracker "Cannot read properties of null (reading 'document')" #4

Open Startouf opened 2 years ago

Startouf commented 2 years ago

We have a lot of JS errors popping on our bugTracker (~50k in ~3 months)

TypeError: Cannot read properties of null (reading 'document')

TypeError: Cannot read properties of null (reading 'document') (Most recent call first)
File https://js.intercomcdn.com/frame-modern.21272555.js  line 1 col 137952 in s
File https://js.intercomcdn.com/frame-modern.21272555.js  line 1 col 98143 in Object.read
File https://js.intercomcdn.com/frame-modern.21272555.js  line 1 col 270787 in [anonymous]
File https://js.intercomcdn.com/frame-modern.21272555.js  line 1 col 270925 in session_Session.createOrUpdateUser
File https://js.intercomcdn.com/frame-modern.21272555.js  line 1 col 291965 in app_App.createOrUpdateUser
File https://js.intercomcdn.com/frame-modern.21272555.js  line 1 col 295131 in Object.boot
File https://js.intercomcdn.com/frame-modern.21272555.js  line 1 col 296372 in [anonymous]
File ../node_modules/use-intercom-hook/dist/index.js line 57 col 16 in useIntercom
window.Intercom("boot", _extends({ app_id: appID }, userData));
File ../node_modules/react-dom/cjs/react-dom.production.min.js line 211 col 320 in uc
function Hi(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((...
File ../node_modules/react-dom/cjs/react-dom.production.min.js line 257 col 303 in Au

Have you run into the same problems ? Any idea where this might come from ?