微信小程序报错[ app.json 文件内容错误] app.json: [“usingComponents“][“van-button“]: “@vant/weapp/lib/button/index
After pulling items from git to build NPM, the following error is reported:
Point out that the file cannot be found and the button component cannot be used. The file path is wrong. First, find the button file in the project,
After copying the path, change the van-button path of usingComponents in app.json
Problem-solving.
Summary: error in file path. Find the file and update the path.
Read More:
- Vant toast light prompt error [How to Solve]
- How to Solve NPM run dev error: missing script:dev
- Vue3 Warning: [Vue warn]: Extraneous non-emits event listeners (changeParentProps) were passed to component
- [Solved] Vite Project jenkins Auto Package Error: failed to load config from ../vite.config.js You installed esbuild on
- Solve the data transfer between vue irrelevant components error: this.$store.commit is not a function
- [Solved] Android Studio Compile Error: Execution failed for task ‘:APP_MIDI:lintVitalRelease‘.
- How to Solve Git Error: error: unable to unlink old ‘***.jar‘
- How to Solve Import antd Error: Module build failed
- How to Solve Excel Error Log 2: Sloving method
- There was an unexpected error (type=Method Not Allowed, status=405). Request
- Flash back problem when Android studio plays music in sdcard through intent
- Vue Browser Error: Failed to load resource: the server responded with a status of 404 (Not Found)
- [Solved] Vscode Error: “export ‘default‘ (imported as ‘VueRouter‘) was not found in ‘vue-router‘
- [Solved] Maven Error: The packaging for this project did not assign a file to the build artifact
- Solutions to error reporting after adding comments to XML files
- [Solved] “Field pet in XXX.HelloController required a bean of type ‘XXX.Pet‘ that could not be found.“
- [Solved] kubeflow pipeline visualization component Error: WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager…
- Error running ‘PigSellCabinetApplication’: Command line is too long. Shorten command line for PigSellCabinetApplication or also for Spring Boot default configuration
- Vue Report Error #NULL! :no such file or directory,chmod….. [email protected] **\css- Beautify.js
- How to Solve Chrome Error: “ERR_HTTP2_PROTOCOL_ERROR”