When the uni-app project opens the WeChat developer tool, the console reports an error [app.json file content error] app.json: app.json was not found in the project root directory (env: Windows,mp,1.06.2303220; lib: 2.32. 0)
solution
- The following is a uni-app project. First, we need to check whether there is an unpackage folder.
If there is a project, it can directly point to unpackage\dist\dev\mp-weixin.
If not, you need to compile it with HBuilder X.
Run the compilation process-"Run to Mini Program Simulator-"WeChat Developer Tools
After the compilation is complete, the project will appear in the unpackage folder.
Open the applet editor again and point to the project directory /unpackage/dist/dev/mp-weixin/ and the applet can be run