微信开发者工具导入项目报错,重装重启恢复系统均无效
发布于 7 年前 作者 smao 7092 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)
  • 预期表现

白屏

  • 复现路径

不清楚

  • 提供一个最简复现 Demo

2 回复

部分错误log如下  :

[2019-5-10T12:26:17] ERROR C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\29cbb96f0d87ca0a3ee63c5dbbd8107c.js filename: C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js, msg: TypeError: Cannot read property ‘simulatorType’ of undefined

    at Function.mapStateToProps [as mapToProps] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\356b2757917fbfdeb38c7afc0271eed9.js:1:674)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54:92)

    at Function.detectFactoryAndVerify (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:63:19)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54:46)

    at handleFirstCall (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:37:18)

    at pureFinalPropsSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:85:81)

    at Object.runComponentSelector [as run] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:43:25)

    at Connect.initSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:195:23)

    at new Connect (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:136:15)

    at Object.construct (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\lazyload\lazy-require.js:53:14)

Log.log @ C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\b22d389f507598d040002f99ddfae35d.js:119

C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:258 Uncaught TypeError: Cannot read property ‘simulatorType’ of undefined

    at Function.mapStateToProps [as mapToProps] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\356b2757917fbfdeb38c7afc0271eed9.js:1)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54)

    at Function.detectFactoryAndVerify (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:63)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54)

    at handleFirstCall (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:37)

    at pureFinalPropsSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:85)

    at Object.runComponentSelector [as run] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:43)

    at Connect.initSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:195)

    at new Connect (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:136)

    at Object.construct (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\lazyload\lazy-require.js:53)

C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:8305 The above error occurred in the <Connect(CleanCache)> component:

    in Connect(CleanCache) (created by U)

    in div (created by U)

    in U (created by Connect(U))

    in Connect(U) (created by Main)

    in div (created by Main)

    in Main (created by Connect(Main))

    in Connect(Main) (created by Root)

    in div (created by Root)

    in Root (created by Connect(Root))

    in Connect(Root)

    in Provider

React will try to recreate this component tree from scratch using the error boundary you provided, U.

logCapturedError$1 @ C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:8305

C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\b22d389f507598d040002f99ddfae35d.js:119 [2019-5-10T12:26:17] ERROR C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\8e433dffaa20c3a7331f9aeecb1221b0.js name:TypeError stack: TypeError: Cannot read property ‘simulatorType’ of undefined

    at Function.mapStateToProps [as mapToProps] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\356b2757917fbfdeb38c7afc0271eed9.js:1:674)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54:92)

    at Function.detectFactoryAndVerify (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:63:19)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54:46)

    at handleFirstCall (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:37:18)

    at pureFinalPropsSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:85:81)

    at Object.runComponentSelector [as run] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:43:25)

    at Connect.initSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:195:23)

    at new Connect (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:136:15)

    at Object.construct (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\lazyload\lazy-require.js:53:14)

Log.log @ C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\b22d389f507598d040002f99ddfae35d.js:119

2C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\b22d389f507598d040002f99ddfae35d.js:119 [2019-5-10T12:26:17] ERROR C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\29cbb96f0d87ca0a3ee63c5dbbd8107c.js filename: C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js, msg: TypeError: Cannot read property ‘simulatorType’ of undefined

    at Function.mapStateToProps [as mapToProps] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\356b2757917fbfdeb38c7afc0271eed9.js:1:674)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54:92)

    at Function.detectFactoryAndVerify (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:63:19)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54:46)

    at handleFirstCall (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:37:18)

    at pureFinalPropsSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:85:81)

    at Object.runComponentSelector [as run] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:43:25)

    at Connect.initSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:195:23)

    at new Connect (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:136:15)

    at Object.construct (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\lazyload\lazy-require.js:53:14)

Log.log @ C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\b22d389f507598d040002f99ddfae35d.js:119

C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:258 Uncaught TypeError: Cannot read property ‘simulatorType’ of undefined

    at Function.mapStateToProps [as mapToProps] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\356b2757917fbfdeb38c7afc0271eed9.js:1)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54)

    at Function.detectFactoryAndVerify (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:63)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54)

    at handleFirstCall (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:37)

    at pureFinalPropsSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:85)

    at Object.runComponentSelector [as run] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:43)

    at Connect.initSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:195)

    at new Connect (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:136)

    at Object.construct (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\lazyload\lazy-require.js:53)

C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:8305 The above error occurred in the <Connect(CleanCache)> component:

    in Connect(CleanCache) (created by U)

    in div (created by U)

    in U (created by Connect(U))

    in Connect(U) (created by Main)

    in div (created by Main)

    in Main (created by Connect(Main))

    in Connect(Main) (created by Root)

    in div (created by Root)

    in Root (created by Connect(Root))

    in Connect(Root)

    in Provider

React will try to recreate this component tree from scratch using the error boundary you provided, Connect(U).

logCapturedError$1 @ C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:8305

C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\b22d389f507598d040002f99ddfae35d.js:119 [2019-5-10T12:26:17] ERROR C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\8e433dffaa20c3a7331f9aeecb1221b0.js name:TypeError stack: TypeError: Cannot read property ‘simulatorType’ of undefined

    at Function.mapStateToProps [as mapToProps] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\356b2757917fbfdeb38c7afc0271eed9.js:1:674)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54:92)

    at Function.detectFactoryAndVerify (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:63:19)

    at mapToPropsProxy (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54:46)

    at handleFirstCall (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:37:18)

    at pureFinalPropsSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:85:81)

    at Object.runComponentSelector [as run] (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:43:25)

    at Connect.initSelector (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:195:23)

    at new Connect (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:136:15)

    at Object.construct (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\lazyload\lazy-require.js:53:14)

Log.log @ C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\b22d389f507598d040002f99ddfae35d.js:119

2C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\b22d389f507598d040002f99ddfae35d.js:119 [2019-5-10T12:26:17] ERROR C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\29cbb96f0d87ca0a3ee63c5dbbd8107c.js filename: C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\efaddce19b790978e16990920754b000.js, msg: TypeError: Cannot read property ‘timeRecords’ of undefined

    at W.componentDidUpdate (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\efaddce19b790978e16990920754b000.js:1:3973)

    at commitLifeCycles (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:11517:24)

    at commitAllLifeCycles (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:12294:9)

    at HTMLUnknownElement.callCallback (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:1299:14)

    at Object.invokeGuardedCallbackDev (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:1338:16)

    at invokeGuardedCallback (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:1195:27)

    at commitAllWork (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:12415:9)

    at workLoop (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:12687:13)

    at performWorkCatchBlock (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:12782:5)

    at HTMLUnknownElement.callCallback (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:1299:14)

Log.log @ C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\b22d389f507598d040002f99ddfae35d.js:119

C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\efaddce19b790978e16990920754b000.js:1 Uncaught TypeError: Cannot read property ‘timeRecords’ of undefined

    at W.componentDidUpdate (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\js\efaddce19b790978e16990920754b000.js:1)

    at commitLifeCycles (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:11517)

    at commitAllLifeCycles (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:12294)

    at HTMLUnknownElement.callCallback (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:1299)

    at Object.invokeGuardedCallbackDev (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:1338)

    at invokeGuardedCallback (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:1195)

    at commitAllWork (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:12415)

    at workLoop (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:12687)

    at performWorkCatchBlock (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:12782)

    at HTMLUnknownElement.callCallback (C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:1299)

C:\Users\Somebody\AppData\Roaming\Tencent\微信web开发者工具\package.nw\node_modules\react-dom\cjs\react-dom.development.js:8305 The above error occurred in the <W> component:

    in W (created by Connect(W))

    in Connect(W) (created by Main)

    in div (created by Main)

    in div (created by Main)

    in div (created by Main)

    in Main (created by Connect(Main))

    in Connect(Main) (created by Root)

    in div (created by Root)

    in Root (created by Connect(Root))

    in Connect(Root)

    in Provider

回到顶部