执行:umi dev 命令报错 #7502
Unanswered
define9527
asked this question in
Q&A
执行:umi dev 命令报错
#7502
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
运行环境:
window10
node v14.18.1
umi 2.2.1
按照 umi 2.0 版本官网的步骤完成配置后,执行umi dev命令报错:
These dependencies were not found:
To install them, you can run: npm install --save umi/_runtimePlugin umi/dynamic umi/link umi/withRouter
ERROR CODE ERR_WEBPACK_MODULE_NOT_FOUND
DETAILS
错误原因
如果 mac 下构建成功,而在 linux 下或云构建平台上构建失败,则基本可断定为大小写问题。
解决方案
如果是大小写问题,请仔细检查 import 或 require 的文件和目标文件的大小写是否一致。
Beta Was this translation helpful? Give feedback.
All reactions