Error reporting reason:
Mixed spaces and tabs.
Eslint is used in the development process to standardize the code style. Eslint loader is used in webpack configuration. Eslint is a syntax checking tool. The disadvantage is that it is too strict with the written code. Most code conventions require the use of spaces or tabs for indentation. Therefore, if a line of code is mixed with tab indentation and space indentation at the same time, it is usually wrong. You need to delete the spaces where the error is reported before compiling.
Solution:
Add rules under eslintconfig in package.json
"rules": {
"no-console": "off",
"no-debugger": "off",
"no-mixed-spaces-and-tabs": "off"
}
Read More:
- How to Solve VUE Error: Mixed spaces and tabs
- [Solved] Vue Less error: Webpack project report expected indentation of 0 spaces but found 2
- Vue Project Error: Expected indentation of 2 spaces but found 4,Newline required at end of file but not found
- [Solved] start value has mixed support, consider using flex-start instead
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- [Solved] 20:1 error Expected indentation of 2 spaces but found 4 indent 21:1 error Expected indent
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- Vue installation @ Vue/cli error: npmerr gyp err
- Full screen scrolling by Vue + Vue awesomeswiper
- [Solved] Vue3 Error: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. P
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- Vue warn]: vue3 element Component emit Pass Event Error
- Vue2.0: How to Use vue3 api to encapsulate Axios
- VUE Error: Vue Error in nextTick: “RangeError: Maximum call stack size exceeded“
- [Solved] Vue Project Error: error ‘v-model‘ directives require no argument vue/valid-v-model
- [Solved] Vue Project startup error: no eslint configuration found
- [Solved] Vue Error: error ‘xxx‘ is defined but never used no-unused-vars
- Vue Error: component has been registered but not used [Two Methods to Solve]