wx2转换微信小程序代码运行失败
- Dominant language
- JavaScript
- Stars
- 118
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
小程序打包好的目录:
dist_weapp
执行命令
```
➜ sanqi_weapp git:(feature/tt) wx2 ./dist_weapp ./dist_swan --target=swan
🎉 Transforming ...
🎉 文件转换进度 : 100.00% ██████████████████████████████ 1/1
🎉 Ok, check transform log in wx2_log/
➜ sanqi_weapp git:(feature/tt) ✗ wx2 ./dist_weapp ./dist_swan --target=swan
🎉 Transforming ...
🎉 文件转换进度 : 100.00% ██████████████████████████████ 197/197
🎉 Ok, check transform log in wx2_log/
```
打开百度小程序运行结果多处报错:


请问这是什么报错,我要如何解决??
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with wx2 ./dist_weapp ./dist_swan --target=swan and inspect the wx2_log/ output alongside the generated dist_swan directory. Use the reported Baidu mini-program errors to identify which transformations fail; done means the converted output runs without those reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100