Skip to content

Commit

Permalink
新增vite项目报错汇总
Browse files Browse the repository at this point in the history
  • Loading branch information
simply-none committed May 11, 2022
1 parent 4f3eb12 commit b337b42
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions usage-project/vite项目启动报错汇总.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vite 项目启动报错汇总

## 报错1:error when starting dev server:Error: The following dependencies are imported but could not be resolved:

原因:拉取的代码,缺少某个导入的依赖,工具函数

解决方法:看报错所在文件的依赖包是否在package.json中、或者是否安装;或者引入路径是否出错

0 comments on commit b337b42

Please sign in to comment.