dcloudio / dcloudio/uni-app

hbuilderx 发行微信小程序时 有一定机率出错

Open
#3,234 1 comment 0 reactions 0 assignees View on GitHub
mp-weixin 不明确复现步骤、未提供复现工程
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

**问题描述**
[问题描述:尽可能简洁清晰地把问题描述清楚]
hbuilderx 发行微信小程序时 有一定机率出错
1. 空白灰色背景卡住
2. 报错说app.json/sitemap 找不到

**复现步骤**
[复现问题的步骤]
1. 运行到小程序模拟器-->微信开发者工具
2. 发行小程序-->微信

开发环境
运行到小程序模拟是正常的

[或者可以直接贴源代码]

**预期结果**
[使用简洁清晰的语言描述你希望生效的预期结果]
如果开发环境中正常 发行时不应该报错

**实际结果**
[这里请贴上你的报错截图或文字]
[ app.json 文件内容错误] app.json: app.json 未找到(env: Windows,mp,1.05.2112301; lib: 2.21.3)
[ app.json 文件内容错误] app.json: 未找到 ["sitemapLocation"] 对应的 sitemap.json 文件(env: Windows,mp,1.05.2112301; lib: 2.21.3)
![微信截图_20220127145850](https://user-images.githubusercontent.com/3981276/151307776-13ae1106-1650-4a6b-8e2c-1933487599a6.png)
![微信截图_20220127150727](https://user-images.githubusercontent.com/3981276/151308764-b67159e1-e654-47d2-bc52-0d037cfa084e.png)
![微信截图_20220127154006](https://user-images.githubusercontent.com/3981276/151313166-7d973c7b-547a-4abc-a311-0321c1730841.png)

**系统信息:**
- 发行平台: [微信小程序]
- 操作系统 [windows11 x64]
- HBuilderX版本 [3.3.10.20220124]
- uni-app版本 [如使用Vue-cli创建/运行项目,则提供`npm run info`的运行结果]
- 设备信息 [如 iPhone8 Plus]

**补充信息**
[可选]
[根据你的分析,出现这个问题的原因可能在哪里?]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.