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

运行在 wept 的环境中报错 #316

Closed
ianva opened this issue Jul 14, 2018 · 3 comments
Closed

运行在 wept 的环境中报错 #316

ianva opened this issue Jul 14, 2018 · 3 comments

Comments

@ianva
Copy link

ianva commented Jul 14, 2018

thirdScriptError
Cannot convert undefined or null to object;App catch error in lifeCycleMethod onShow function
TypeError: Cannot convert undefined or null to object

准备用 wept 辅助测试,但是在跑在环境中后,报这个错误。 以下是详细的报错信息

build.js?v=0.9.6:1 => socket open
stacksourcemap.js:1 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
u @ stacksourcemap.js:1
s @ stacksourcemap.js:1
a @ stacksourcemap.js:1
h @ stacksourcemap.js:1
(anonymous) @ stacksourcemap.js:1
p @ stacksourcemap.js:1
errorReport @ service.js?v=0.9.6:274
thirdErrorReport @ service.js?v=0.9.6:262
(anonymous) @ service.js?v=0.9.6:141
o @ service.js?v=0.9.6:4167
h @ service.js?v=0.9.6:4196
(anonymous) @ service.js?v=0.9.6:188
setTimeout (async)
setTimeout @ service.js?v=0.9.6:2757
u @ service.js?v=0.9.6:3305
onAppEnterForeground @ service.js?v=0.9.6:1090
(anonymous) @ service.js?v=0.9.6:1599
e @ service.js?v=0.9.6:4202
(anonymous) @ service.js?v=0.9.6:4215
(anonymous) @ service.js?v=0.9.6:3656
(anonymous) @ app.js:49
require @ service.js?v=0.9.6:4268
(anonymous) @ app.js:49
service.js?v=0.9.6:275 thirdScriptError
Cannot convert undefined or null to object;App catch error in lifeCycleMethod onShow function
TypeError: Cannot convert undefined or null to object
    at Function.constructor.assign (<anonymous>)
    at e.onShow (http://localhost:3000/npm/@tarojs/taro-weapp/dist/index.js:3520:14)
    at e.o (http://localhost:3000/script/service.js?v=0.9.6:4165:19)
    at e.h (http://localhost:3000/script/service.js?v=0.9.6:4196:24)
    at http://localhost:3000/script/service.js?v=0.9.6:188:21
errorReport @ service.js?v=0.9.6:275
thirdErrorReport @ service.js?v=0.9.6:262
(anonymous) @ service.js?v=0.9.6:141
o @ service.js?v=0.9.6:4167
h @ service.js?v=0.9.6:4196
(anonymous) @ service.js?v=0.9.6:188
setTimeout (async)
setTimeout @ service.js?v=0.9.6:2757
u @ service.js?v=0.9.6:3305
onAppEnterForeground @ service.js?v=0.9.6:1090
(anonymous) @ service.js?v=0.9.6:1599
e @ service.js?v=0.9.6:4202
(anonymous) @ service.js?v=0.9.6:4215
(anonymous) @ service.js?v=0.9.6:3656
(anonymous) @ app.js:49
require @ service.js?v=0.9.6:4268
(anonymous) @ app.js:49

@ogundiperukayah
Copy link

Very good

@stale
Copy link

stale bot commented Oct 24, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 24, 2018
@stale stale bot closed this as completed Oct 31, 2018
@yuche yuche reopened this Nov 1, 2018
@stale stale bot removed the wontfix label Nov 1, 2018
@shenghanqin
Copy link
Collaborator

@ianva wept的作者已建议使用官方开发者工具了。所以这个issue我先给关闭了。如有疑问,可以重新开启或者at我,感谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants