Parsing error:x-invalid-end-tag
Reason: When iView renders tags as native html tags, some tags are self-closing, such as input, so having end tags will report an error.
Solution 1: Remove the end tag.
Solution 2: Modify the configuration file to ignore the check.
root directory - eslintrc.js - Rules
add a line: "Vue/no parsing error": [2, {"x-invalid end tag": false}]
Read More:
- When using iView, report: no parsing error parsing error: x-invalid-end-tag solution
- OTS parsing error: invalid version tag [How to Solve]
- [Solved] Eslint Error: Parsing error: x-invalid-end-tag
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- [Solved] SyntaxError: Invalid regular expression: invalid group specifier name
- Parsing error: await is a reserved word [How to Solve]
- [Solved] Parsing error: No Babel config file detected for XXX
- [Solved] ESLint: Parsing error: Unexpected token(prettier/prettier)
- [Solved] Vue Error: Parsing error: No Babel config file detected for /Users/Usename/xxx…
- [Solved] vue Project Error: react lazy eslint error Parsing error: Unexpected token import
- [Solved] Vue Error: Parsing error:No Babel config file detected for xxx
- [Solved] Vue-vscode Error: Parsing error: Unexpected reserved word ‘await‘.
- [Solved] Vue Error: Parsing error: No Babel config file detected for
- [Solved] vue-roter 4 Error: Error: Invalid route component/Uncaught (in promise) Error: Invalid route component
- Vue: initialize failed: invalid DOM [How to Solve]
- [Solved] Vue echarts Error: Initialize failed: invalid dom.
- [Solved] Uncaught SyntaxError: Invalid Unicode escape sequence
- [Solved] Vue Start Project Error: ValidationError: webpack Dev Server Invalid Options
- vue Error: Uncaught SyntaxError: Invalid shorthand property initializer
- [vite] Failed to parse source for import analysis because the content contains invalid JS syntax.