Uncaught TypeError: Object(...) is not a function

Description
When we try to load https://source.zoom.us/zoom-meeting-1.9.5.min.js error happens in console.

Error

Uncaught TypeError: Object(...) is not a function
    at e.findValue (zoom-meeting-1.9.5.min.js:2)
    at e.easyGet (zoom-meeting-1.9.5.min.js:2)
    at L (zoom-meeting-1.9.5.min.js:2)
    at z (zoom-meeting-1.9.5.min.js:2)
    at Object.<anonymous> (zoom-meeting-1.9.5.min.js:2)
    at t (zoom-meeting-1.9.5.min.js:2)
    at Object.<anonymous> (zoom-meeting-1.9.5.min.js:2)
    at t (zoom-meeting-1.9.5.min.js:2)
    at Object.<anonymous> (zoom-meeting-1.9.5.min.js:2)
    at t (zoom-meeting-1.9.5.min.js:2)

Which Web Client SDK version?
1.9.5

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to Courses Demo (log in using credentials johnsmith@seomail.org / 123456)
  2. Click on ‘Learn Meditation’ course
  3. Scroll down to ‘Zoom Test’ lesson available almost on very bottom of the list that appears on the right side.
  4. Click JOIN
  5. See error

Screenshots

Device:

  • Device: PC
  • OS: Windows 10
  • Browser: Chrome
  • Browser Version 92.0.4515.131 64bit

Hey @architechpro,

Thank you for reaching out to the Zoom Developer Forum. Does this happen when testing with the Sample Web App? I would try using that as it will also allow you to test with the latest version.

If that doesn’t help, can you share how you are calling init() and join()?

Thanks,
Max

@MaxM it doesn’t work if we place Sample Web App’s code on another page within the same website: zoomtest7 – Courses Demo

However, if we run this code locally on a dummy HTML page, it works. Is there anything you can suggest?

Hey @architechpro,

Thanks for following up. It looks like there is a difference with the production build that you’re using. I thinking one of the following are happening here:

  1. NPM modules aren’t completely installed on production
  2. The built production version doesn’t include the correct import configuration (maybe a webpack issues?)
  3. Logic imports differently based on the host
  4. The CDN urls are blocked on your production server

We can set up a meeting to debug this live if you want. Please send an email to developersupport@zoom.us with a link to this thread and we can follow up there.

Thanks,
Max

We were able to fix this by including all JS files exactly per the documentation (before we were including one of Zoom JS files using JS injection).

However, a new problem appeared.

react-dom.min.js:117 TypeError: _.isNil is not a function
    at zoom-meeting-1.9.5.min.js:formatted:28460
    at Td (react-dom.min.js:82)
    at mg (react-dom.min.js:90)
    at hi (react-dom.min.js:106)
    at Qg (react-dom.min.js:144)
    at Rg (react-dom.min.js:145)
    at Sc (react-dom.min.js:158)
    at Z (react-dom.min.js:156)
    at Kc (react-dom.min.js:155)
    at ya (react-dom.min.js:153)

react-dom.min.js:157 Uncaught TypeError: _.isNil is not a function
    at zoom-meeting-1.9.5.min.js:formatted:28460
    at Td (react-dom.min.js:82)
    at mg (react-dom.min.js:90)
    at hi (react-dom.min.js:106)
    at Qg (react-dom.min.js:144)
    at Rg (react-dom.min.js:145)
    at Sc (react-dom.min.js:158)
    at Z (react-dom.min.js:156)
    at Kc (react-dom.min.js:155)
    at ya (react-dom.min.js:153)

@MaxM do you have any suggestions on those?

Hey @architechpro,

I see we have a ticket for this, I’ll follow up with you there.

Thanks,
Max

Hi @MaxM could I be looped into this also? I am having the exact same issue.

The latest version that works without issues for me is 1.9.1.

EDIT: Actually 1.9.1 is also showing the same error now. Could this be a browser update causing the issue?

Thanks.

I’ve looked into this further.

On 1.9.1 and 1.9.8 on the latest version of Chrome (93.0.4577.82) I get this (1.9.1 worked with Chrome 92 previously):

prepareJssdk change to prepareWebSDK
DevTools failed to load source map: Could not load content for https://source.zoom.us/1.9.8/lib/webim.min.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE
zoom-meeting-1.9.8.min.js:2 pre load wasm success: https://source.zoom.us/1.9.8/lib/av/1501_audio.encode.wasm
zoom-meeting-1.9.8.min.js:2 pre load wasm success: https://source.zoom.us/1.9.8/lib/av/1501_video.simd.wasm
react-dom.min.js:117 TypeError: _.isNil is not a function
    at zoom-meeting-1.9.8.min.js:2
    at Td (react-dom.min.js:82)
    at mg (react-dom.min.js:90)
    at hi (react-dom.min.js:106)
    at Qg (react-dom.min.js:144)
    at Rg (react-dom.min.js:145)
    at Sc (react-dom.min.js:158)
    at Z (react-dom.min.js:156)
    at Zg (react-dom.min.js:159)
    at Object.notify (zoom-meeting-1.9.8.min.js:2)
Bg @ react-dom.min.js:117
c.callback @ react-dom.min.js:126
Ag @ react-dom.min.js:116
zg @ react-dom.min.js:116
qi @ react-dom.min.js:131
ui @ react-dom.min.js:133
(anonymous) @ react-dom.min.js:158
unstable_runWithPriority @ react.min.js:27
Vc @ react-dom.min.js:158
Sc @ react-dom.min.js:158
Z @ react-dom.min.js:156
Zg @ react-dom.min.js:159
notify @ zoom-meeting-1.9.8.min.js:2
n.notifyNestedSubs @ zoom-meeting-1.9.8.min.js:2
t.notifySubscribers @ zoom-meeting-1.9.8.min.js:2
n.handleChangeWrapper @ zoom-meeting-1.9.8.min.js:2
a @ redux.min.js:1
(anonymous) @ redux-thunk.min.js:1
(anonymous) @ redux.min.js:1
value @ zoom-meeting-1.9.8.min.js:2
x @ zoom-meeting-1.9.8.min.js:2
init @ zoom-meeting-1.9.8.min.js:2
(anonymous) @ zoom.js:42
Promise.then (async)
(anonymous) @ zoom.js:40
react-dom.min.js:157 Uncaught TypeError: _.isNil is not a function
    at zoom-meeting-1.9.8.min.js:2
    at Td (react-dom.min.js:82)
    at mg (react-dom.min.js:90)
    at hi (react-dom.min.js:106)
    at Qg (react-dom.min.js:144)
    at Rg (react-dom.min.js:145)
    at Sc (react-dom.min.js:158)
    at Z (react-dom.min.js:156)
    at Zg (react-dom.min.js:159)
    at Object.notify (zoom-meeting-1.9.8.min.js:2)

On the latest version of Microsoft Edge (fresh install) 1.9.1 runs perfectly. On 1.9.8 I get the following and the webinar does not launch:

prepareJssdk change to prepareWebSDK
DevTools failed to load source map: Could not load content for https://source.zoom.us/1.9.8/lib/webim.min.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE
zoom-meeting-1.9.8.min.js:2 pre load wasm success: https://source.zoom.us/1.9.8/lib/av/1501_audio.encode.wasm
zoom-meeting-1.9.8.min.js:2 pre load wasm success: https://source.zoom.us/1.9.8/lib/av/1501_video.simd.wasm
zoom-meeting-1.9.8.min.js:2 ################# states: ,true,true,true
zoom-meeting-1.9.8.min.js:2 @ UI audio rules: ,true,true,false
zoom-meeting-1.9.8.min.js:2 @ UI video rules: ,true
zoom-meeting-1.9.8.min.js:2 INIT, isAudioConnected, isMicUnmuted, isVideoStarted,true,true,true
zoom-meeting-1.9.8.min.js:2 navigator.MediaDevices.getUserMedia error: ,Requested device not found,NotFoundError
u @ zoom-meeting-1.9.8.min.js:2
f @ zoom-meeting-1.9.8.min.js:2
E @ zoom-meeting-1.9.8.min.js:2
S @ zoom-meeting-1.9.8.min.js:2
Promise.catch (async)
w @ zoom-meeting-1.9.8.min.js:2
(anonymous) @ zoom-meeting-1.9.8.min.js:2
(anonymous) @ zoom-meeting-1.9.8.min.js:2
qi @ react-dom.min.js:130
ui @ react-dom.min.js:133
(anonymous) @ react-dom.min.js:158
unstable_runWithPriority @ react.min.js:27
Vc @ react-dom.min.js:158
Sc @ react-dom.min.js:158
Z @ react-dom.min.js:156
Zg @ react-dom.min.js:159
notify @ zoom-meeting-1.9.8.min.js:2
n.notifyNestedSubs @ zoom-meeting-1.9.8.min.js:2
t.notifySubscribers @ zoom-meeting-1.9.8.min.js:2
n.handleChangeWrapper @ zoom-meeting-1.9.8.min.js:2
a @ redux.min.js:1
(anonymous) @ redux-thunk.min.js:1
(anonymous) @ redux.min.js:1
value @ zoom-meeting-1.9.8.min.js:2
x @ zoom-meeting-1.9.8.min.js:2
init @ zoom-meeting-1.9.8.min.js:2
(anonymous) @ zoom.js:42
Promise.then (async)
(anonymous) @ zoom.js:40
zoom-meeting-1.9.8.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.8.min.js:2 lib state => isAudioConnected,
zoom-meeting-1.9.8.min.js:2 lib state => isMicUnmuted,
zoom-meeting-1.9.8.min.js:2 lib state => isVideoStarted,
zoom-meeting-1.9.8.min.js:2 End
zoom-meeting-1.9.8.min.js:2 ############ error @1st: ,[object Object]
zoom-meeting-1.9.8.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.8.min.js:2 page state => isAudioConnected,true
zoom-meeting-1.9.8.min.js:2 page state => isMicUnmuted,true
zoom-meeting-1.9.8.min.js:2 page state => isVideoStarted,true
zoom-meeting-1.9.8.min.js:2 End
zoom-meeting-1.9.8.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.8.min.js:2 page state => isAudioConnected,true
zoom-meeting-1.9.8.min.js:2 page state => isMicUnmuted,true
zoom-meeting-1.9.8.min.js:2 page state => isVideoStarted,true
zoom-meeting-1.9.8.min.js:2 End

Any help here would be great.

Thanks.

Hey @stevenatflint,

Thanks for reporting this. Please submit a ticket and I can track the issue there. So far, I haven’t been able to reproduce this with the Sample Web App, are you seeing this issue there too?

Thanks,
Max

Hi, unfortunately the sample web app doesn’t install/compile for me, i’ve tried multiple NPM versions:

[webpack-cli] Unable to load ‘@webpack-cli/serve’ commandeted in 4ms
[webpack-cli] SyntaxError: Invalid regular expression: /(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/: Invalid escape

I’ll submit a ticket thanks.

Hi, @stevenatflint,

Thanks for the update! We will keep an eye out for your submission and follow up with you there.

Best,
Donte