jameslai
jameslai
  • 发布:2021-07-16 22:04
  • 更新:2021-07-16 22:04
  • 阅读:779

#插件讨论# 【 莹石云(EZVIZ) 海康实时视频预览、录像回放、语音对讲(不维护) - 移动开发达人 】例子运行报错

分类:uni-app

例子在微信小程序运行不了啊,报如下错误:
vendor.js? [sm]:2416 [Vue warn]: Error in onLaunch hook: "TypeError: uni.requireNativePlugin is not a function"

(found in App.vue)(env: Windows,mp,1.05.2105170; lib: 2.18.0)
warn @ vendor.js? [sm]:2416
Vue.config.errorHandler @ vendor.js? [sm]:7608
globalHandleError @ vendor.js? [sm]:3679
handleError @ vendor.js? [sm]:3648
invokeWithErrorHandling @ vendor.js? [sm]:3671
Vue.call_hook @ vendor.js? [sm]:7665
_vue.default.
call_hook @ vendor.js? [sm]:1294
onLaunch @ vendor.js? [sm]:1358
(anonymous) @ VM73 WAService.js:2
et @ VM73 WAService.js:2
e @ VM73 WAService.js:2
(anonymous) @ VM73 WAService.js:2
(anonymous) @ VM73 WAService.js:2
createApp @ vendor.js? [sm]:1472
(anonymous) @ main.js? [sm]:20
(anonymous) @ main.js? [sm]:21
webpack_require__ @ runtime.js? [sm]:82
checkDeferredModules @ runtime.js? [sm]:48
webpackJsonpCallback @ runtime.js? [sm]:35
(anonymous) @ main.js? [sm]:1
require @ VM73 WAService.js:2
a @ VM73 WAService.js:2
(anonymous) @ app.js? [sm]:4
require @ VM73 WAService.js:2
(anonymous) @ VM89:3
doWhenAllScriptLoaded @ VM88:50
scriptLoaded @ VM88:70
(anonymous) @ VM88:95
(anonymous) @ VM73 WAService.js:2
r @ VM73 WAService.js:2
Promise.then (async)
a @ VM73 WAService.js:2
e.exports @ VM73 WAService.js:2
X @ VM73 WAService.js:2
oe @ VM73 WAService.js:2
(anonymous) @ VM73 WAService.js:2
Promise.then (async)
(anonymous) @ VM73 WAService.js:2
j @ VM73 WAService.js:2
(anonymous) @ VM73 WAService.js:2
(anonymous) @ VM88:121
(anonymous) @ VM88:125
loadScripts @ assubloader.js:1
async function (async)
loadScripts @ assubloader.js:1
loadAppResourceScripts @ assubloader.js:1
(anonymous) @ VM84:1
t.loadScripts @ VM8 asdebug.js:1
loadAppService @ VM8 asdebug.js:1
messagerCallback @ VM8 asdebug.js:1
(anonymous) @ VM8 asdebug.js:1
f @ VM8 asdebug.js:1
g @ VM8 asdebug.js:1
(anonymous) @ VM8 asdebug.js:1
_ws.onmessage @ VM8 asdebug.js:1
vendor.js? [sm]:7609 TypeError: uni.requireNativePlugin is not a function
at Vue.onLaunch (main.js? [sm]:94)
at invokeWithErrorHandling (vendor.js? [sm]:3663)
at Vue.
call_hook (vendor.js? [sm]:7665)
at Vue._vue.default.__call_hook (vendor.js? [sm]:1294)
at e.onLaunch (vendor.js? [sm]:1358)
at e.<anonymous> (VM73 WAService.js:2)
at et (VM73 WAService.js:2)
at new e (VM73 WAService.js:2)
at Function.<anonymous> (VM73 WAService.js:2)
at VM73 WAService.js:2(env: Windows,mp,1.05.2105170; lib: 2.18.0)

2021-07-16 22:04 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复