错误合集
垚钦
专注于为解决前端报错的问题解决以及提升方法
展开
-
run `npm fund` for details解决,前端开发:项目运行npm install 提示XXX ...for funding run `npm fund`...的解决方法
yarn就能解决原创 2023-03-31 23:23:09 · 443 阅读 · 0 评论 -
此错误消息表示您的代码中存在TypeError,特别是对象未定义,正在被评估为“plugin.install
需要去查看插件依赖有没有兼容软件vue2。原创 2023-03-31 23:24:23 · 95 阅读 · 0 评论 -
This is a warning message generated by the Vue.js framework, indicating that it has encountered an …
应该在需要暴露组件的地方输入: components: {组件名}原创 2023-03-29 11:01:10 · 79 阅读 · 0 评论 -
npm ERR! Missing script: “serve“npm ERR! npm ERR! To see a list of scripts, run:npm ERR! npm ru
出现该错误是因为cd 路径不对,切换到当前文件就可以了。原创 2023-03-29 11:02:05 · 1396 阅读 · 1 评论 -
无法与SSL建立安全
4.卸载或者禁用你的浏览器扩展。2.检查设备的日期与时间。3.更改你的DNS设置。1.清除浏览器的数据。原创 2023-03-29 10:58:56 · 266 阅读 · 0 评论 -
jwt记得前缀有Bearer
记得前缀有Bearer。原创 2023-03-29 10:57:46 · 75 阅读 · 0 评论 -
前端出现跨域问题
解决办法之一是打开vscode 里面的live serve的功能。原创 2023-03-29 10:54:51 · 23 阅读 · 0 评论 -
error The “login“ component has been registered but not used
组件是注册了但是还没有使用,应该在template里面使用该组件。原创 2023-03-29 10:55:58 · 343 阅读 · 0 评论 -
在 vue eslint 报错 error “Component name “*****“ should always be multi-word”,该怎么办?
如mystore改成myStore。原创 2023-03-29 10:51:47 · 159 阅读 · 0 评论 -
容易踩坑的点vue中
Vue+Element el-table属性row-class-name用法及踩坑。不对,需要换成多看几次自己的代码是不是路径/变成.要反复看是不是写错from。原创 2023-03-29 10:49:44 · 22 阅读 · 0 评论 -
tablerowclassname没有实例
使用row.userName 等变量时,值为undefined,要看在tableRowClassName方法内,参数目前还只是个对象,需要解构再使用。原创 2023-03-29 10:50:35 · 45 阅读 · 0 评论 -
Custom elements in iteration require ‘v-bind:key‘directives.错误解决
这是因为vue规定用v-for条件渲染,必须设置一个key。原创 2023-03-29 10:45:24 · 74 阅读 · 0 评论 -
前端报错合集(Mac book Pro M1-vscode-vue-git……)
前端学习中容易遇到的bug集合(持续更新中)原创 2023-02-23 15:08:44 · 138 阅读 · 1 评论