收藏
回答

老项目启动开发工具后报错这个怎么解决?

[system] WeChatLib: 3.8.3 (2025.4.29 16:27:46)

[渲染层错误] Framework TypeError: LifeCycle.start fail: Cannot read property 'split' of undefined(env: Windows,mp,1.06.2503290; lib: 3.8.3)

[渲染层错误] TypeError: SystemError (webviewSDKScriptError)

LifeCycle.start fail: Cannot read property 'split' of undefined(env: Windows,mp,1.06.2503290; lib: 3.8.3)

[system] Subpackages: N/A

[system] LazyCodeLoading: false

wxd2e27b38bc161d66 不是 3rdMiniProgramAppid, ext.json 无法生效;查看文档: "https://developers.weixin.qq.com/miniprogram/dev/devtools/ext.html"

TypeError: Cannot read property 'customVersion' of undefined

    at RHe.qHe (WAServiceMainContext.js?t=wechat&v=3.8.3:1)

    at RHe.<anonymous> (WAServiceMainContext.js?t=wechat&v=3.8.3:1)

    at RHe.value [as getAccountInfoSync] (index.js:1)

    at Object.10 (VM75 appservice.js:2282)

    at n (VM75 appservice.js:2267)

    at Module.108 (VM75 appservice.js:2315)

    at n (VM75 appservice.js:2267)

    at Object.29 (VM75 appservice.js:2315)

    at n (VM75 appservice.js:2267)

    at VM75 appservice.js:2267(env: Windows,mp,1.06.2503290; lib: 3.8.3)

app.js错误:

 TypeError: Cannot read property 'customVersion' of undefined

    at RHe.qHe (WAServiceMainContext.js?t=wechat&v=3.8.3:1)

    at RHe.<anonymous> (WAServiceMainContext.js?t=wechat&v=3.8.3:1)

    at RHe.value [as getAccountInfoSync] (index.js:1)

    at Object.10 (VM75 appservice.js:2282)

    at n (VM75 appservice.js:2267)

    at Module.108 (VM75 appservice.js:2315)

    at n (VM75 appservice.js:2267)

    at Object.29 (VM75 appservice.js:2315)

    at n (VM75 appservice.js:2267)

    at VM75 appservice.js:2267(env: Windows,mp,1.06.2503290; lib: 3.8.3)

TypeError: Cannot read property 'customVersion' of undefined

    at RHe.qHe (WAServiceMainContext.js?t=wechat&v=3.8.3:1)

    at RHe.<anonymous> (WAServiceMainContext.js?t=wechat&v=3.8.3:1)

    at RHe.value [as getAccountInfoSync] (index.js:1)

    at Object.10 (VM75 appservice.js:2282)

    at n (VM75 appservice.js:2267)

    at Module.108 (VM75 appservice.js:2315)

    at n (VM75 appservice.js:2267)

    at Object.29 (VM75 appservice.js:2315)

    at n (VM75 appservice.js:2267)

    at VM75 appservice.js:2267(env: Windows,mp,1.06.2503290; lib: 3.8.3)

Page "pages/client/index" has not been registered yet.

回答关注问题邀请回答
收藏

2 个回答

  • 。
    星期四 14:45

    方便给个能复现的代码片段吗?

    星期四 14:45
    有用
    回复 10
    • Lemonice
      Lemonice
      星期四 14:52
      我这是一整套项目代码,并且不是因为我的代码调用导致的,是工具本身就报错,我把自己代码所涉及到的都注释掉一样报错
      星期四 14:52
      回复
    • 。
      星期四 14:55回复Lemonice
      你创建一个新的模板项目也能复现这个报错?也能复现的话可以升级到最新版 nightly 试试,我这边是没有报错的
      星期四 14:55
      回复
    • Lemonice
      Lemonice
      星期四 15:05回复
      我试了,一样有这个报错
      星期四 15:05
      回复
    • Lemonice
      Lemonice
      星期四 15:07
      什么版本我都试过,没用,甚至于刚刚把本地文件全部删除,写了个简单的demo还能报错找不到旧文件,直到我删除C盘用户目录下的缓存文件重启开发工具才不会报错旧文件找不到,这根本就没法用
      星期四 15:07
      回复
    • Lemonice
      Lemonice
      星期四 15:09
      星期四 15:09
      回复
    查看更多(5)
  • Lemonice
    Lemonice
    星期四 11:48

    各种对工具的重装、升级、降级,都没啥用,折腾了我一早上没解决,这工具越来越看着高大上实际越来越LJ了。

    星期四 11:48
    有用
    回复 1
    • Lemonice
      Lemonice
      星期四 14:22
      听了网上有人说降回1.06.2503281版本就好,我降回去这个版本了,然鹅又是另一堆报错,根本没法使用:

      [system] WeChatLib: 3.8.3 (2025.4.29 16:27:46)
      [system] Subpackages: N/A
      [system] LazyCodeLoading: false
      wxd2e27b38bc161d66 不是 3rdMiniProgramAppid, ext.json 无法生效;查看文档: "https://developers.weixin.qq.com/miniprogram/dev/devtools/ext.html"
      Error: mkdirSync:fail no such file or directory http://usr/__plugins__/wx293c4b6097a8a4d0/_WXANOVELREADERCACHE
          at B_ (WAServiceMainContext.js?t=wechat&v=3.8.3:1)
          at Object.mkdirSync (WAServiceMainContext.js?t=wechat&v=3.8.3:1)
          at VM74 appservice.js:2282
          at Object.10 (VM74 appservice.js:2282)
          at n (VM74 appservice.js:2267)
          at Module.108 (VM74 appservice.js:2315)
          at n (VM74 appservice.js:2267)
          at Object.29 (VM74 appservice.js:2315)
          at n (VM74 appservice.js:2267)
          at VM74 appservice.js:2267(env: Windows,mp,1.06.2503281; lib: 3.8.3)
      app.js错误:
       Error: mkdirSync:fail no such file or directory http://usr/__plugins__/wx293c4b6097a8a4d0/_WXANOVELREADERCACHE
          at B_ (WAServiceMainContext.js?t=wechat&v=3.8.3:1)
          at Object.mkdirSync (WAServiceMainContext.js?t=wechat&v=3.8.3:1)
          at VM74 appservice.js:2282
          at Object.10 (VM74 appservice.js:2282)
          at n (VM74 appservice.js:2267)
          at Module.108 (VM74 appservice.js:2315)
          at n (VM74 appservice.js:2267)
          at Object.29 (VM74 appservice.js:2315)
          at n (VM74 appservice.js:2267)
          at VM74 appservice.js:2267(env: Windows,mp,1.06.2503281; lib: 3.8.3)
      Error: mkdirSync:fail no such file or directory http://usr/__plugins__/wx293c4b6097a8a4d0/_WXANOVELREADERCACHE
          at B_ (WAServiceMainContext.js?t=wechat&v=3.8.3:1)
          at Object.mkdirSync (WAServiceMainContext.js?t=wechat&v=3.8.3:1)
          at VM74 appservice.js:2282
          at Object.10 (VM74 appservice.js:2282)
          at n (VM74 appservice.js:2267)
          at Module.108 (VM74 appservice.js:2315)
          at n (VM74 appservice.js:2267)
          at Object.29 (VM74 appservice.js:2315)
          at n (VM74 appservice.js:2267)
          at VM74 appservice.js:2267(env: Windows,mp,1.06.2503281; lib: 3.8.3)
      Page "pages/client/index" has not been registered yet.
      [system] Launch Time: 6085 ms
      星期四 14:22
      回复
登录 后发表内容