当前位置:网站首页>微信小程序报错[ app.json 文件内容错误] app.json: app.json 未找到
微信小程序报错[ app.json 文件内容错误] app.json: app.json 未找到
2022-06-23 16:53:00 【老张在线敲代码】
原因是:
导入项目后project.config.json文件被微信开发者工具修改。
解决:
缺少代码:“miniprogramRoot”: “./unpackage/dist/dev/mp-weixin”。“miniprogramRoot”是指定小程序源码的目录(需为相对路径)。

只要锁定到/dist/dev/mp-weixin目录就可以了,每个人的目录结构可能不一样,可以去各个目录找一下,看哪里有dist目录,然后找下去就可以。
边栏推荐
- Date selection of hotel check-in time and check-out time
- Thymeleaf - learning notes
- 论文阅读 (49):Big Data Security and Privacy Protection (科普文)
- AMQP protocol
- console. Log() is an asynchronous operation???
- First use of kubernetes cronjob
- Method of copying web page content and automatically adding copyright information (compatible with ie, Firefox and chrome)
- Discussion on five kinds of zero crossing detection circuit
- Cryptography involved in IOT device end
- torch学习(一):环境配置
猜你喜欢

Alien world, real presentation, how does the alien version of Pokemon go achieve?

iMeta | 南农沈其荣团队发布微生物网络分析和可视化R包ggClusterNet

CRMEB 二开短信功能教程

论文阅读 (55):Dynamic Multi-Robot Task Allocation under Uncertainty and Temporal Constraints

VNC Viewer方式的远程连接树莓派

Crmeb second open SMS function tutorial

暂停更新公告—行走的皮卡丘

论文阅读 (53):Universal Adversarial Perturbations
![[esp8266-01s] get weather, city, Beijing time](/img/8f/89e6f0d482f482ed462f1ebd53616d.png)
[esp8266-01s] get weather, city, Beijing time

SimpleDateFormat在多线程环境下存在线程安全问题。
随机推荐
Transaction processing of cloud development database
《致敬百年巨匠 , 数藏袖珍书票》
JS reset form
13. IP address and subnet partitioning (VLSM)
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):...
Self taught programming introduction, what language to learn first?
Programmers are very useful ten tool websites, which are worth collecting
对抗攻击与防御 (1):图像领域的对抗样本生成
Listen attentively and give back sincerely! Pay tribute to the best product people!
How to make validity table
What is the mobile account opening process? Is it safe to open an account online now?
MySQL的 安裝、配置、卸載
论文阅读 (54):DeepFool: A Simple and Accurate Method to Fool Deep Neural Networks
Goframe framework: graceful closing process
Troubleshooting and modification process of easycvr interface dislocation in small screen
Petitpotam – NTLM relay to ad CS
暂停更新公告—行走的皮卡丘
Analytic analog-to-digital (a/d) converter
. Net cloud native architect training camp (responsibility chain mode) -- learning notes
【ESP8266-01s】获取天气,城市,北京时间