
Compiled with problems:
编译问题
C:\myel\src\views\HomeView.vue
错误出现文件
3:1 error Mixed spaces and tabs no-mixed-spaces-and-tabs
4:1 error Mixed spaces and tabs no-mixed-spaces-and-tabs
第3行的第一个字符
第4函的第一个字符
Mixed spaces and tabs
错误原因:混合的空格与tab
no-mixed-spaces-and-tabs
错误规则: no-mixed-spaces-and-tabs 不准混空格与tab
2

Compiled with problems:
编译错误
ERROR in ./src/views/HomeView.vue?
错误出现的位置
Unexpected keyword ‘const’. (6:0)
第6行第0个字符有个不应该出现的关键字 const
63 | const user = reactive({ userid: “”, pwd: “”, code: “” }), | ^ 64 | const rules = reactive({ | ^ 65 | userid: [
第63到64行两个^之间有错误
3

ERROR in ./src/router/index.ts 10:19-57
错误发生在 ./src/router/index.ts 第10行第19个字符到57字符
Module not found: Error: Can’t resolve ‘…/views/admin/AdminVeiw.vue’ in ‘C:\myel\src\router’
,模块找不的 不能resolve(兑现,发现,解决)…/views/admin/AdminVeiw.vue
在C:\myel\src\router
总结:文件…/views/admin/AdminVeiw.vue(文件名/路径发生错误)
4

ERROR in ./src/views/HomeView.vue
错误发生在HomeView.vue
VueCompilerError: Element is missing end tag.
标签没有结束标签
2 |
第二行的div
5

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘id’)
没有捕捉到(承诺)类型错误:不能够与读取undefined的属性 (读取id)
6

C:\youmi\src\views\AboutView.vue
出错的文件地址
16:17 error ‘reactive’ is not defined no-undef
第16行17字符错误 reactive 没有定义


App.vue 第30错误
[vuex] unknown mutation type: changeA
vuex 找不到一个叫changeA的mutations

VueCompilerError: Attribute name cannot contain U+0022 ("), U+0027 (’), and U+003C (<).
vue编译错误:属性name 不能不包含 “ ‘ <
at C:\youmi\src\views\AboutView.vue:8:2
第8行
这篇博客主要讨论了Vue.js项目中遇到的多种编译错误,包括混合使用空格和tab导致的`no-mixed-spaces-and-tabs`错误,未预期的const关键字,模块解析失败,Vue组件缺少结束标签,以及未定义的属性读取错误。同时,还提到了在`AboutView.vue`和`App.vue`文件中分别遇到的`reactive`未定义和未知mutation类型的错误。博客提供了错误定位和可能的解决策略。
1969

被折叠的 条评论
为什么被折叠?



