netless-io / netless-rtc-react-whiteboard

Demo https://demo-rtc.herewhite.com/#/zh-CN/
MIT License
71 stars 24 forks source link

你好 white-web-sdk 报 Error: window.__netlessJavaScriptLoader was override 错误的原因有不 #108

Closed maoxiaoquan closed 4 years ago

maoxiaoquan commented 4 years ago

Uncaught Error: window.netlessJavaScriptLoader was override at new e (index.js:30564) at Object.push../node_modules/_white-web-sdk@2.5.4@white-web-sdk/src/index.js.lib (index.js:30539) at r (index.js:13) at Object.push../node_modules/_white-web-sdk@2.5.4@white-web-sdk/src/index.js.lib (index.js:30460) at r (index.js:13) at Object.push../node_modules/_white-web-sdk@2.5.4@white-web-sdk/src/index.js.lib (index.js:30333) at r (index.js:13) at Object.push../node_modules/_white-web-sdk@2.5.4@white-web-sdk/src/index.js.lib (index.js:4261) at r (index.js:13) at Object.push../node_modules/_white-web-sdk@2.5.4@white-web-sdk/src/index.js.lib (index.js:10007) at r (index.js:13) at push../node_modules/_white-web-sdk@2.5.4@white-web-sdk/src/index.js.lib (index.js:47) at Object../node_modules/_white-web-sdk@2.5.4@white-web-sdk/src/index.js (index.js:48) at webpack_require (bootstrap:785) at fn (bootstrap:150) at Module../src/stores/whiteboard.ts (whiteboard.ts:1) at webpack_require (bootstrap:785) at fn (bootstrap:150) at Module../src/containers/root-container.tsx (platform-container.tsx:127) at webpack_require (bootstrap:785) at fn (bootstrap:150) at Module../src/components/video-player.tsx (video-player.scss?27fe:37) at webpack_require (bootstrap:785) at fn (bootstrap:150) at Module../src/hooks/use-setting-control.tsx (use-chat-text.ts:69) at webpack_require (bootstrap:785) at fn (bootstrap:150) at Module../src/components/setting-card.tsx (roomboard.tsx:45) at webpack_require (bootstrap:785) at fn (bootstrap:150) at Module../src/pages/device-test.tsx (small-class.tsx:17) at webpack_require (bootstrap:785) at fn (bootstrap:150) at Module../src/pages/index.tsx (home.tsx:209) at webpack_require (bootstrap:785) at fn (bootstrap:150) at Module../src/index.tsx (index.scss?cf1e:37) at webpack_require (bootstrap:785) at fn (bootstrap:150) at Object.0 (upload-manager.ts:46) at webpack_require__ (bootstrap:785) at checkDeferredModules (bootstrap:45) at Array.webpackJsonpCallback [as push] (bootstrap:32) at main.chunk.js:1

maoxiaoquan commented 4 years ago

已找到原因

CatciSurn commented 4 years ago

我也遇到了这个问题,请问一下你是如何解决的

maoxiaoquan commented 4 years ago

配置参数的问题

wu0211 commented 4 years ago

请问一下,是配置哪个参数?

wu0211 commented 4 years ago

@maoxiaoquan

wu0211 commented 4 years ago

我也遇到了这个问题,请问一下你是如何解决的

请问你解决了吗

maoxiaoquan commented 4 years ago

我忘记是哪个,但是就是参数的问题

wu0211 commented 4 years ago

var whiteWebSdk = new WhiteWebSdk({ preloadDynamicPPT:false, deviceType:DeviceType.Touch, appIdentifier:"test1"

}); 是这快的参数问题? @maoxiaoquan

wu0211 commented 4 years ago

@maoxiaoquan 老哥帮忙看看你那里的问题呗,很久没解决了