测试小程序分享到朋友圈功能
从朋友圈分享的小程序卡片进入小程序报错
VM297:1 MiniProgramError
APP-SERVICE-SDK:getExtConfigSync:fail rejected due to no permission currently
Error: APP-SERVICE-SDK:getExtConfigSync:fail rejected due to no permission currently
at Object.<anonymous> (http://127.0.0.1:22159/appservice/__dev__/WAService.js:2:1743669)
at < at wx.getExtConfigSync>
at Object.<anonymous> (http://127.0.0.1:22159/appservice/__dev__/WAService.js:2:120602)
at setExtData (http://127.0.0.1:22159/appservice/utils/appBase/appBase.js:65:44)
at Object.appLaunch (http://127.0.0.1:22159/appservice/utils/appBase/appBase.js:18:3)
at ve.onLaunch (http://127.0.0.1:22159/appservice/app.js:56:13)
at ve.I.t.onLaunch (http://127.0.0.1:22159/appservice/utils/ald-stat.js:134:70)
at ve.<anonymous> (http://127.0.0.1:22159/appservice/__dev__/WAService.js:2:2013540)
at new ve (http://127.0.0.1:22159/appservice/__dev__/WAService.js:2:2014296)
at Function.<anonymous> (http://127.0.0.1:22159/appservice/__dev__/WAService.js:2:2014608)
调试基础库切换到2.12.0上述报错消失
但是出现新的报错:errMsg: "login:fail rejected due to no permission currently"
用户在朋友圈打开分享的小程序页面,并不会真正打开小程序,而是进入一个“小程序单页模式”的页面
单页模式下的限制:
页面无登录态,与登录相关的接口,如 wx.login 均不可用;云开发资源需开启未登录访问方可在单页模式下使用。。。
请问解决了吗哥
2.17.3之后的基础库都会出现这个问题 之前没有这样的问题出现
VM1185:5 app.js错误:
Error: APP-SERVICE-SDK:lanDebug:fail rejected due to no permission currently
at Object.lanDebug (VM1038 WAService.js:2)
at bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1
at Array.forEach (<anonymous>)
at E (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at D (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at Function.use (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at Object.module.exports (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at a (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at Object.290 (app.js?t=wechat&s=1625020877563&v=523f8e0fb29dd54b4a17a1ba29af21bf:1)
at a (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)(env: Windows,mp,1.05.2105170; lib: 2.17.0)
(anonymous) @ VM1185:5
doWhenAllScriptLoaded @ VM1184:1775
scriptLoaded @ VM1184:1795
(anonymous) @ VM1184:1820
(anonymous) @ VM1038 WAService.js:2
r @ VM1038 WAService.js:2
Promise.then (async)
a @ VM1038 WAService.js:2
e.exports @ VM1038 WAService.js:2
X @ VM1038 WAService.js:2
oe @ VM1038 WAService.js:2
(anonymous) @ VM1038 WAService.js:2
Promise.then (async)
(anonymous) @ VM1038 WAService.js:2
j @ VM1038 WAService.js:2
(anonymous) @ VM1038 WAService.js:2
(anonymous) @ VM1184:1846
(anonymous) @ VM1184:1850
loadScripts @ assubloader.js:1
async function (async)
loadScripts @ assubloader.js:1
loadAppResourceScripts @ assubloader.js:1
(anonymous) @ VM1175: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
VM1038 WAService.js:2 Error: APP-SERVICE-SDK:lanDebug:fail rejected due to no permission currently
at Object.lanDebug (VM1038 WAService.js:2)
at bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1
at Array.forEach (<anonymous>)
at E (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at D (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at Function.use (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at Object.module.exports (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at a (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at Object.290 (app.js?t=wechat&s=1625020877563&v=523f8e0fb29dd54b4a17a1ba29af21bf:1)
at a (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)(env: Windows,mp,1.05.2105170; lib: 2.17.0)
errorReport @ VM1038 WAService.js:2
thirdErrorReport @ VM1038 WAService.js:2
(anonymous) @ VM1038 WAService.js:2
v @ VM1038 WAService.js:2
o @ VM1038 WAService.js:2
c @ VM8 asdebug.js:1
r @ VM8 asdebug.js:1
window.onerror @ VM1029:1
doWhenAllScriptLoaded @ VM1184:1775
scriptLoaded @ VM1184:1795
(anonymous) @ VM1184:1820
(anonymous) @ VM1038 WAService.js:2
r @ VM1038 WAService.js:2
error (async)
t.default @ VM1029:1
(anonymous) @ VM1029:1
n @ VM1029:1
(anonymous) @ VM1029:1
(anonymous) @ VM1029:1
VM1038 WAService.js:2 Error: APP-SERVICE-SDK:lanDebug:fail rejected due to no permission currently
at Object.lanDebug (VM1038 WAService.js:2)
at bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1
at Array.forEach (<anonymous>)
at E (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at D (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at Function.use (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at Object.module.exports (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at a (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)
at Object.290 (app.js?t=wechat&s=1625020877563&v=523f8e0fb29dd54b4a17a1ba29af21bf:1)
at a (bundle.js?t=wechat&s=1625020877563&v=701c0556890524446f9aece87a244f64:1)(env: Windows,mp,1.05.2105170; lib: 2.17.0)
errorReport @ VM1038 WAService.js:2
thirdErrorReport @ VM1038 WAService.js:2
(anonymous) @ VM1038 WAService.js:2
v @ VM1038 WAService.js:2
o @ VM1038 WAService.js:2
(anonymous) @ VM1038 WAService.js:2
value @ VM1038 WAService.js:2
(anonymous) @ VM1038 WAService.js:2
doWhenAllScriptLoaded @ VM1184:1775
scriptLoaded @ VM1184:1795
(anonymous) @ VM1184:1820
(anonymous) @ VM1038 WAService.js:2
r @ VM1038 WAService.js:2
error (async)
(anonymous) @ VM1038 WAService.js:2
(anonymous) @ VM1038 WAService.js:2
(anonymous) @ VM1038 WAService.js:2
VM8 asdebug.js:1 @appservice-current-context
VM1038 WAService.js:2 Page "pages/article-detail/article-detail" has not been registered yet.
VM1201 WAService.js:2 Error: APP-SERVICE-SDK:lanDebug:fail rejected due to no permission currently
at Object.lanDebug (VM1038 WAService.js:2)
at apihook.js?t=wechat&s=1625020877563&v=ecf7ef5c71b1d8db71da9b0f3ffd45cc:1
at e.exports (apihook.js?t=wechat&s=1625020877563&v=ecf7ef5c71b1d8db71da9b0f3ffd45cc:1)
at window.__passWAServiceGlobal__ (apihook.js?t=wechat&s=1625020877563&v=ecf7ef5c71b1d8db71da9b0f3ffd45cc:1)
at n.__passWAServiceGlobal__ (VM8 asdebug.js:1)
at __waServiceInit__ (VM1038 WAService.js:2)
at __doWAServiceInit__ (VM1038 WAService.js:2)
at VM1038 WAService.js:2
at VM1038 WAService.js:2(env: Windows,mp,1.05.2105170; lib: 2.17.0)
errorReport @ VM1201 WAService.js:2
thirdErrorReport @ VM1201 WAService.js:2
(anonymous) @ VM1201 WAService.js:2
v @ VM1201 WAService.js:2
o @ VM1201 WAService.js:2
(anonymous) @ VM1201 WAService.js:2
value @ VM1201 WAService.js:2
(anonymous) @ VM1201 WAService.js:2
error (async)
(anonymous) @ VM1201 WAService.js:2
(anonymous) @ VM1201 WAService.js:2
(anonymous) @ VM1201 WAService.js:2
你好,是工具还是真机?请提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)