随笔:33 文章:0 评论:0 阅读: 5902

随笔分类 -  BUG

 
bug|初始化项目|sass-loader报错:TypeError: this.getResolve is not a function at Object.loader
摘要:Module build failed: TypeError: this.getResolve is not a function at Object.loader的解决 npm uninstall sass-loader(卸载当前版本) npm install sass-loader@7.3.1 阅读全文
posted @ 2023-04-21 17:34 走到热爱里 阅读(26) 评论(0) 推荐(0) 编辑
bug|jest|vue|记录:关于【4-4 使用 TDD 的方式开发 Header 组件(1)】05:26时的运行测试用例出错的问题
摘要:错误情景 提示 jest 配置错误 Configuration error Configuration error: Could not locate module @/components/HelloWorld.vue mapped as: XXX\jest-vue\src\components/ 阅读全文
posted @ 2023-02-03 13:41 走到热爱里 阅读(83) 评论(0) 推荐(0) 编辑
bug|Git Hooks pre-commit|git 提交代码报错|error: 'describe' 'it' 'expect' is not defined (no-undef)|pre-commit hook failed (add --no-verify to bypass)|
摘要:前言 今天学习 jest 的 vue-test-utils 的配置及使用。 报错原因为 jest 全局变量 git 提交代码报错,使用除了参考链接里的解决方案,正好复习一下之前学习的 Git Hooks: 错误 git 日志 git-error-1675323308267 ... ✖ vue-cli 阅读全文
posted @ 2023-02-02 15:47 走到热爱里 阅读(107) 评论(0) 推荐(0) 编辑
bug|项目经验|记录某次页面div使用v-html标签渲染图片等内容的过程
摘要:前言 记录某次页面div使用v-html标签渲染图片等内容的过程 一、结论: get请求但被设置Sec-Fetch-*请求头的图片无法展示。 二、原因: 1.本项目中的img标签发起get请求,目标链接在浏览器中发起get请求, 2.但本项目img标签的get请求->默认sec-fetch-dest 阅读全文
posted @ 2023-01-07 21:02 走到热爱里 阅读(228) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示