
编程报错
文章平均质量分 57
要加油哦~
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
前端 | 向后端传数据,判断问题所在的调试过程
理清架构:vue文件中(界面)——调用函数js文件中(api交互)——定义函数,并向后端发送 post 请求node后端中(处理)——接收 post 请求,并进行处理在里调用saveToFile要求:调用的传入的数据是js修改,在里,先打印text🚀texttextfetch若发现 text 的格式是content:Proxy用途:把响应式数据 ref([])即Proxy,转为普通数组。这样才可以进行解析。NetworkNetwork(网络)saveHeaders(请求头)原创 2025-03-09 18:06:21 · 1044 阅读 · 0 评论 -
前端 | CORS 跨域问题解决
注: 注意顺序,press和cors的顺序。,判断是用require还是import。头部没有配置,导致请求被浏览器拦截。原创 2025-03-09 17:26:46 · 1163 阅读 · 0 评论 -
报错 - 无法找到模块“xxx.mjs”的声明文件。“D:/node_modules/element-plus/xxx.mjs”隐式拥有 “any“ 类型。如果“element-plus”包实际公开了
如果“element-plus”包实际公开了此模块,请尝试添加包含 `declare module‘element-plus/dist/locale/zh-cn.mjs';` 的新声明(.d.ts)文件ts(7016)无法找到模块“xxx.mjs”的声明文件。“D:/node_modules/element-plus/xxx.mjs”隐式拥有 "any" 类型。原创 2024-03-28 20:07:26 · 604 阅读 · 0 评论 -
报错-无法找到模块“../xxx/index.vue”的声明文件。“d:/xxx/index.vue”隐式拥有 “any“ 类型。ts(7016)
报错,无法找到模块声明的文件,因为它隐式拥有 any 类型原创 2024-03-28 16:26:49 · 1787 阅读 · 0 评论 -
报错 - pnpm : 无法将“pnpm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
安装 pnpm 时,报错原创 2023-12-21 22:15:46 · 15308 阅读 · 0 评论 -
报错 - [vite] Internal server error: [vue/compiler-sfc] Identifier ‘onMounted‘ has already been dec
报错,少东西原创 2023-11-08 22:39:20 · 5708 阅读 · 0 评论 -
git报错:error: failed to push some refs to ‘gitee.com:S1401435519/short-video.git‘
git push报错:error: failed to push some refs to 'gitee.com:S1401435519/short-video.git'原创 2023-11-07 15:44:32 · 309 阅读 · 0 评论 -
vue3错误排查-POST请求的body参数 传参方式form-data和json
vue3中接口无报错问题,但不显示数据/无数据---->body参数方式为form-data,平常使用的是json原创 2023-11-06 15:48:06 · 1219 阅读 · 0 评论 -
报错-TypeError: Cannot read properties of undefined (reading ‘url‘)
报错-TypeError: Cannot read properties of undefined (reading 'url')原创 2023-10-31 15:23:12 · 4166 阅读 · 0 评论 -
前后端分离问题 | 前后端 协调
前后端分离开发的一些问题:CORS error、缺少token、401原创 2023-10-30 20:14:31 · 543 阅读 · 0 评论 -
报错:Error: error:0308010C:digital envelope routines::unsupported
Error: error:0308010C:digital envelope routines::unsupported原创 2023-10-29 14:31:32 · 652 阅读 · 0 评论 -
报错 - 找不到模块“@/...“或其相应的类型声明
解决问题:找不到模块"@/..."或其相应的类型声明,卸载重装插件原创 2023-09-26 20:29:13 · 1086 阅读 · 0 评论 -
报错-Component name “index“ should always be multi-word(组件命名不规范)
组件命名报错 Component name "index" should always be multi-word原创 2023-09-20 13:59:46 · 707 阅读 · 0 评论 -
报错-warning: in the working copy of ‘xxx.vue‘, LF will be replaced by CRLF the next time Git touc
git中的LF和CRLF问题原创 2023-09-07 11:04:10 · 8937 阅读 · 0 评论 -
[git] 如何克隆仓库,进行项目撰写,并绑定自己的远程仓库
克隆仓库,并绑定自身的仓库原创 2023-09-05 13:41:51 · 1010 阅读 · 0 评论 -
报错合集 ing - net::ERR_ABORTED 500 (Internal Server Error)
vue3项目中的报错原创 2023-08-30 20:24:23 · 5541 阅读 · 0 评论 -
报错 - Failed to load url /src/stores/user (resolved id: D:/src/stores/user) Does the file exist?
问题:使用vue3时,修改了Store命名,报错 Failed to load url /src/stores/user (resolved id: D:/src/stores/user) Does the file exist?(404,get请求)原因:部分Store命名未更新。(使用vite引入Store时报错)若还是不行,加上文件后缀,然后重新运行。原创 2023-08-28 22:49:29 · 5547 阅读 · 0 评论 -
iconfont的使用方法 | 踩过的坑
iconfont使用方法,为何有的图标显示,有的不显示原创 2023-08-20 15:32:16 · 219 阅读 · 0 评论 -
报错-content.js:2161 Uncaught ReferenceError: gtag is not defined
用 Edge浏览器一直报错,试了很多方法都没有用,换成谷歌浏览器解决了。原创 2023-07-17 11:15:47 · 297 阅读 · 0 评论