微信小程序报错[ 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:
- [Solved] URIError: Failed to decode param ‘/%3C%=%20BASE_URL%20%3Estatic/index.%3C%=%20VUE_APP_INDEX_CSS_HASH%20%3E.css’
- Vant toast light prompt error [How to Solve]
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- [Solved] Parsing JSON error unexpected end of JSON input
- [Solved] SyntaxError:JSON.parse:unexpected character at line 1 column 1 of the JSON data
- Json: struct field readyReplicas has json tag but is not exported [How to Solve]
- Wechat Payment V2 Error: No appropriate protocol [How to Solve]
- Wechat program typeerror: a solution to cannot read property ‘SetData’ of undefined
- [Solved] Click the play button to display: e/mediaplayer: error (1, – 2147483648)
- [Solved] Wechat IOS signature error config:fail
- [Solved] Android app development version update failed, Android – error: task execution failed ‘: app: com
- How to Solve Android wechat payment Error: error_code = -1
- [Solved] WeChat development tools error: Argument 0 must be a buffer source or a WebAssembly.Module object
- [Solved] Git error: bad signature 0x00000000 fatal: index file corrupt
- [Solved] Android Studio Compile Error: Execution failed for task ‘:APP_MIDI:lintVitalRelease‘.
- Database App.config configurate file Error & Solution
- [Solved] Angular12 ng build Error: Index html generation failed.
- [How to Solve] Task :app:compileDebugKotlin FAILED
- Android Studio Error: String index out of range 0 [How to Solve]
- [Solved] Execution failed for task ‘:app:checkDebugAarMetadata‘