当前位置:网站首页>Wechat applet reports an error [app.json file content error] app json: app. JSON not found

Wechat applet reports an error [app.json file content error] app json: app. JSON not found

2022-06-23 18:09:00 Lao Zhang taps the code online

as a result of :
After importing the project project.config.json The file was modified by wechat developer tools .

solve :
Missing code :“miniprogramRoot”: “./unpackage/dist/dev/mp-weixin”.“miniprogramRoot” Is the directory of the specified applet source code ( Need to be relative path ).

 Insert picture description here

Just lock to /dist/dev/mp-weixin The catalogue will do , Everyone's directory structure may be different , You can look in various directories , Look where there is dist Catalog , Then you can find it .

原网站

版权声明
本文为[Lao Zhang taps the code online]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206231652587668.html