Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信小程序 taro 集成友盟统计报错 #14

Closed
HelloAndyZhang opened this issue Aug 13, 2020 · 3 comments
Closed

微信小程序 taro 集成友盟统计报错 #14

HelloAndyZhang opened this issue Aug 13, 2020 · 3 comments
Labels

Comments

@HelloAndyZhang
Copy link

HelloAndyZhang commented Aug 13, 2020

描述:

taro 集成友盟统计报错 微信小程序

友盟版本

	"umtrack-wx": "^2.3.6"

taro版本

Taro CLI 3.0.7 environment info:
System:
OS: Windows 10
Binaries:
Node: 10.16.0 - E:\nodejs\node.EXE
Yarn: 1.22.4 - C:\Users\Administrator\AppData\Roaming\npm\yarn.CMD
npm: 6.9.0 - E:\nodejs\npm.CMD

报错信息

VM1085:1 MiniProgramError
Cannot assign to read only property 'onLaunch' of object '#'
TypeError: Cannot assign to read only property 'onLaunch' of object '#'
at D (http://127.0.0.1:26159/appservice/app.js:3205:8533)
at App (http://127.0.0.1:26159/appservice/app.js:3205:28326)
at Module../src/app.js (http://127.0.0.1:26159/appservice/app.js:3303:12)
at webpack_require (http://127.0.0.1:26159/appservice/runtime.js:81:30)
at checkDeferredModules (http://127.0.0.1:26159/appservice/runtime.js:47:23)
at Array.webpackJsonpCallback [as push] (http://127.0.0.1:26159/appservice/runtime.js:34:19)
at http://127.0.0.1:26159/appservice/app.js:6:49
at require (http://127.0.0.1:26159/appservice/__dev__/WAService.js:2:2112001)
at :1:1
at doWhenAllScriptLoaded (http://127.0.0.1:26159/appservice/appservice?t=1597288932661:5490:21)

@pdap
Copy link
Contributor

pdap commented Aug 21, 2020

正在研发,耐心等新版发布

@pdap
Copy link
Contributor

pdap commented Aug 26, 2020

参考
系taro3.0将App生命周期设为不可修改,导致,taro作者已做修复commit,可等待发布正式

@pdap pdap pinned this issue Aug 26, 2020
@pdap pdap added the taro label Sep 4, 2020
@pdap
Copy link
Contributor

pdap commented Sep 7, 2020

升级 taro 版本 >=3.0.9 ,taro已做适配

@pdap pdap closed this as completed Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants