真实测试账号调试时报we-ui找不到组件错误

Open
#163 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
frontend

Research direction

Start by reproducing the error in pages/account/account using multi-account debugging with a real account, then compare it with the working test account and local or device debugging. Check why miniprogram_npm/weui-miniprogram/cells/cells is unavailable in that mode; done means the component loads consistently or the limitation and workaround are documented.

Written by the indexing model from the issue text.

Description

使用 useExtendedLib 的方式使用 weui 组件库,本地调试和真机调试的时候都没问题,但是使用多账号调试添加真实账号测试却报找不到we-ui的组件,但是多账号调试里的测试号却正常,这是为什么呀?

报错信息:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[渲染层错误] Uncaught (in promise)
VM101 WAService.js:2 Error: MiniProgramError
{"isTrusted":true}
at Object.errorReport (VM101 WAService.js:2)
at Function.thirdErrorReport (VM101 WAService.js:2)
at Object. (VM101 WAService.js:2)
at I (VM101 WAService.js:2)
at Object.o [as cb] (VM101 WAService.js:2)
at VM101 WAService.js:2
at Array.forEach ()
at A.value (VM101 WAService.js:2)
at o (VM101 WAService.js:2)
at VM101 WAService.js:2
errorReport @ VM101 WAService.js:2
thirdErrorReport @ VM101 WAService.js:2
(anonymous) @ VM101 WAService.js:2
I @ VM101 WAService.js:2
o @ VM101 WAService.js:2
(anonymous) @ VM101 WAService.js:2
value @ VM101 WAService.js:2
o @ VM101 WAService.js:2
(anonymous) @ VM101 WAService.js:2
VM101 WAService.js:2 Error: Component is not found in path "miniprogram_npm/weui-miniprogram/cells/cells" (using by "pages/account/account")
at A (VM101 WAService.js:2)
at A (VM101 WAService.js:2)
at ke (VM101 WAService.js:2)
at Module.He (VM101 WAService.js:2)
at Function.value (VM101 WAService.js:2)
at Le (VM101 WAService.js:2)
at VM101 WAService.js:2
at Ye (VM101 WAService.js:2)
at Function. (VM101 WAService.js:2)
at i. (VM101 WAService.js:2)

Dominant language
TypeScript
Stars
2.4k
Forks
549
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wechat-miniprogram/weui-miniprogram

All issues in wechat-miniprogram/weui-miniprogram

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.