![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错解决
JA+
CSDN笔记本,佛系更新
展开
-
@vue/cli source and destination must not be the same
(删除vue-cli 的输出目录)打断点发现dist 目录下有index.html。原创 2024-06-05 16:57:43 · 314 阅读 · 0 评论 -
vue ts 项目vue文件中引入不识别 @ 路径别名
在include 中加上 vue 文件。否则vue 文件中不识别 @路径别名。tsconfig.json 配置中添加。原创 2024-04-09 17:30:24 · 233 阅读 · 0 评论 -
pnpm 源不对 Will retry in 10 seconds. 2 retries left.
由于使用npm config set registry 切换淘宝源时,把地址打错了。后面使用pnpm install 时出现此时无论我怎么使用npm config set registry 或者pnpm config set registry 切回正确的源均没有效果。原创 2024-01-23 21:23:06 · 2852 阅读 · 1 评论 -
vite antdv@1.7.8 日期控件报错TypeError: (void 0) is not a function
使用vite-plugin-antdv-fix 插件,解决antdv1问题原创 2023-01-14 13:04:32 · 1854 阅读 · 1 评论 -
Less:Error evaluating function ‘unit‘ must be a number
比如 import 'ant-design-vue/es/select/style'按需引入select 组件css样式时会报错。less版本降级到3就不报错了。原创 2023-01-12 10:05:26 · 791 阅读 · 0 评论 -
vue-cli: Syntax Error: Thread Loader
Syntax Error: Thread Loader(Worker 1)Cannot read properties of undefined (reading 'options')原创 2022-09-27 22:50:39 · 6499 阅读 · 1 评论