收藏
回答

新版开发工具1.01.1711150打开一片空白

问题模块
开发者工具


如题

最后一次编辑于  2017-11-16  (未经腾讯允许,不得转载)
回答关注问题邀请回答
收藏

13 个回答

  • 林超
    林超
    2017-11-16

    抱歉这是我们的 bug,请检查 app.json 中的 navigationBarBackgroundColor 是否是合法颜色值,以及是否有调用 setNavigationBarColor 并传入了非法的 backgroundColor  值


    2017-11-16
    赞同
    回复
  • 灰灰
    灰灰
    2018-03-02

    白鹭引擎发布微信小游戏也是这样白屏,可是没有app.son这个文件啊

    2018-03-02
    赞同
    回复
  • 姚星火
    姚星火
    2017-11-16

    现在OK了,不白屏了

    2017-11-16
    赞同
    回复
  • 邓坤力
    邓坤力
    2017-11-16

    此处颜色值需为 十六进制,文档:https://mp.weixin.qq.com/debug/wxadoc/dev/framework/config.html

    2017-11-16
    赞同
    回复
  • 来者可追
    来者可追
    2017-11-16

    "navigationBarBackgroundColor": "white"改成#ffffff 就可以了


    2017-11-16
    赞同
    回复
  • 云淡风轻
    云淡风轻
    2017-11-16

    真滴嘛?


    2017-11-16
    赞同
    回复
  • 姚星火
    姚星火
    2017-11-16

    是楼上提到的这个问题,我之前写的是"navigationBarBackgroundColor": "white"改成#ffffff 就可以了

    2017-11-16
    赞同
    回复
  • Sakiya💝
    Sakiya💝
    2017-11-16

    这个不是报错,就是提示你需要注意,不过我也想知道这提示是啥意思

    2017-11-16
    赞同
    回复
  • 食尽半生瓜
    食尽半生瓜
    2017-11-16

    升级1.01.1711150打开凡是block标签都报错,这是要抛弃block标签的节奏????

    2017-11-16
    赞同
    回复
  • 姚星火
    姚星火
    2017-11-16

    [2017-11-16T8:58:4] INFO /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/bc78839ccca8df9e5ceeb7fae11b7be2.js store.js rehydration finished


    /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/b22d389f507598d040002f99ddfae35d.js:75 [2017-11-16T8:58:4] INFO /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/f845f8c2f5db64684f8a3b26efa3609d.js setChromeProxy config: {"mode":"pac_script","pacScript":{"data":"function FindProxyForURL(url, host) {\n              if (/^https?\\:\\/\\/.*?\\.debug.open.weixin.qq.com/.test(url)||/^https?\\:\\/\\/.*?\\.appservice.open.weixin.qq.com/.test(url)||/^https?\\:\\/\\/wxfile.open.weixin.qq.com\\//.test(url)||url.indexOf('http://aboutblank') === 0||url.indexOf('https://clients1.google.com/tbproxy/af/') === 0||/^https?\\:\\/\\/.*?\\.?editorservice.open.weixin.qq.com/.test(url)||/^https?\\:\\/\\/.*?\\.widget.open.weixin.qq.com/.test(url)||/^https?\\:\\/\\/.*?\\.widgetservice.open.weixin.qq.com/.test(url)||/^https?\\:\\/\\/trace.open.weixin.qq.com/.test(url)||/^http:\\/\\/usr\\//.test(url)||/^http:\\/\\/store\\//.test(url)||/^http:\\/\\/tmp\\//.test(url)) {\n    return 'PROXY 127.0.0.1:9973'\n  }\n\n  if (/^(http|ws)s?\\:\\/\\/(localhost|127.0.0.1)/.test(url)){\n    return 'DIRECT'\n  }\n              return 'DIRECT'\n            }"}}


    /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/efaddce19b790978e16990920754b000.js:1 editor container mount Thu Nov 16 2017 08:58:05 GMT+0800 (CST)

    /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/b22d389f507598d040002f99ddfae35d.js:73 [2017-11-16T8:58:6] ERROR /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/29cbb96f0d87ca0a3ee63c5dbbd8107c.js filename: /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js, msg: TypeError: Cannot read property 'r' of null

        at new h (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/5b7e808cbfe14a62c21959fb1771749d.js:1:523)

        at Proxy.fromHex (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/5b7e808cbfe14a62c21959fb1771749d.js:1:952)

        at Function.module.exports.c [as mapToProps] (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/d3fc1d4b6cfd440a6300e62456252a06.js:1:568)

        at mapToPropsProxy (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/wrapMapToProps.js:54:92)

        at handleNewState (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:63:26)

        at handleSubsequentCalls (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:80:30)

        at pureFinalPropsSelector (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:85:32)

        at Object.runComponentSelector [as run] (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js:43:25)

        at Connect.componentWillReceiveProps (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js:167:23)

        at callComponentWillReceiveProps (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-dom/cjs/react-dom.development.js:6372:14)


    Log.log @ /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/b22d389f507598d040002f99ddfae35d.js:73

    /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js:258 Uncaught TypeError: Cannot read property 'r' of null

        at new h (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/5b7e808cbfe14a62c21959fb1771749d.js:1:523)

        at Proxy.fromHex (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/5b7e808cbfe14a62c21959fb1771749d.js:1:952)

        at Function.module.exports.c [as mapToProps] (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/d3fc1d4b6cfd440a6300e62456252a06.js:1:568)

        at mapToPropsProxy (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/wrapMapToProps.js:54:92)

        at handleNewState (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:63:26)

        at handleSubsequentCalls (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:80:30)

        at pureFinalPropsSelector (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:85:32)

        at Object.runComponentSelector [as run] (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js:43:25)

        at Connect.componentWillReceiveProps (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js:167:23)

        at callComponentWillReceiveProps (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-dom/cjs/react-dom.development.js:6372:14)

    /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/29cbb96f0d87ca0a3ee63c5dbbd8107c.js:1 TypeError: Cannot read property 'r' of null

        at new h (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/5b7e808cbfe14a62c21959fb1771749d.js:1:523)

        at Proxy.fromHex (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/5b7e808cbfe14a62c21959fb1771749d.js:1:952)

        at Function.module.exports.c [as mapToProps] (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/d3fc1d4b6cfd440a6300e62456252a06.js:1:568)

        at mapToPropsProxy (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/wrapMapToProps.js:54:92)

        at handleNewState (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:63:26)

        at handleSubsequentCalls (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:80:30)

        at pureFinalPropsSelector (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:85:32)

        at Object.runComponentSelector [as run] (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js:43:25)

        at Connect.componentWillReceiveProps (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js:167:23)

        at callComponentWillReceiveProps (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-dom/cjs/react-dom.development.js:6372:14)

    /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-dom/cjs/react-dom.development.js:9769 The above error occurred in the <Connect(e)> component:

        in Connect(e) (created by N)

        in div (created by N)

        in div (created by N)

        in div (created by c)

        in c (created by N)

        in N (created by Connect(N))

        in Connect(N) (created by U)

        in div (created by U)

        in div (created by U)

        in U (created by Connect(U))

        in Connect(U)

        in div (created by i)

        in i

        in Provider


    Consider adding an error boundary to your tree to customize error handling behavior.

    Visit https://fb.me/react-error-boundaries to learn more about error boundaries.

    logCapturedError @ /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-dom/cjs/react-dom.development.js:9769

    /Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/ba23d8b47b1f4ea08b9fd49939b9443f.js:1 Uncaught (in promise) TypeError: Cannot read property 'r' of null

        at new h (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/5b7e808cbfe14a62c21959fb1771749d.js:1:523)

        at Proxy.fromHex (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/5b7e808cbfe14a62c21959fb1771749d.js:1:952)

        at Function.module.exports.c [as mapToProps] (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/js/d3fc1d4b6cfd440a6300e62456252a06.js:1:568)

        at mapToPropsProxy (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/wrapMapToProps.js:54:92)

        at handleNewState (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:63:26)

        at handleSubsequentCalls (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:80:30)

        at pureFinalPropsSelector (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/connect/selectorFactory.js:85:32)

        at Object.runComponentSelector [as run] (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js:43:25)

        at Connect.componentWillReceiveProps (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-redux/lib/components/connectAdvanced.js:167:23)

        at callComponentWillReceiveProps (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/react-dom/cjs/react-dom.development.js:6372:14)

    2_generated_background_page.html:1 Unchecked runtime.lastError while running debugger.sendCommand: No target with given id 59120bdb-e587-42a5-9393-e50c81a44c2b.


    2017-11-16
    赞同
    回复

正在加载...