Black Screen on Nuxt JS App

Description
We try to integrate Zoom SDK using NPM into our NuxtJS system. After Insert, the code has an error showing inspect element.

Browser Console Error

Uncaught TypeError: Cannot read properties of null (reading '0')
    at R (zoomus-websdk.umd.min.js?478e:2:1)
    at combination (combineReducers.js?89a8:120:1)
    at dispatch (createStore.js?61ed:165:1)
    at eval (index.js?4dd3:14:1)
    at Object.eval [as zmg_initMeetingConfig] (bindActionCreators.js?f901:3:1)
    at a.value (zoomus-websdk.umd.min.js?478e:2:1)
    at w (zoomus-websdk.umd.min.js?478e:2:1)
    at Object.init (zoomus-websdk.umd.min.js?478e:2:1)
    at VueComponent.mounted (testpage.vue?74a8:44:1)
    at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1863:1)

Which Web Meeting SDK version?
"@zoomus/websdk": "^2.3.5"

Device (please complete the following information):

  • Device: MacBook Pro
  • OS: macOS 11
  • Browser: {"browserInfo":"Chrome/98.0.4758.102","browserName":"Chrome","browserVersion":"98.0.4758.102","features":["viewSharing","screenShare","computerVideo","computerAudio","callIn","callOut","chat","closedCaption","QA","POLLING","BREAKOUT","GALLERY"]}

Hello,

I also encountered this error today and it was tiring me out. When the leaveUrl parameter is sent as “/” it is detected as NULL and therefore throws an error. Replacing “leaveUrl”: “/” with “leaveUrl”: “/meetings” or “leaveUrl”: “https://domain.com/” will fix the problem.

Welcome, @ferditarakci,

Thank you for posting your solution in the Developer Forum.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.