-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
项目跑起来会出问题啊 #20
Comments
检查 node 之类的版本 |
我也是这个问题啊阿啊阿啊阿啊,楼主解决了吗 |
{ config/routes.ts 改下路径大小写 |
多谢。 |
我是在Ubuntu20.04上跑的,已安装过依赖,运行yarn start,会报错:
Error: Cannot find module '~/mianshiya-public/src/pages/User/Login'
详细报错信息如下:
Cannot find module '/home/franckrain/mianshiya-public/src/pages/User/Login'
Require stack:
Error: Cannot find module '/home/franckrain/mianshiya-public/src/pages/User/Login'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.mod._resolveFilename (/home/franckrain/mianshiya-public/node_modules/@umijs/bundler-webpack/lib/requireHook.js:49:28)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
at /home/franckrain/mianshiya-public/node_modules/@umijs/plugin-ui-blocks/lib/ui/utils.js:55:75
at Array.reduce ()
at getComponents (/home/franckrain/mianshiya-public/node_modules/@umijs/plugin-ui-blocks/lib/ui/utils.js:48:42)
at /home/franckrain/mianshiya-public/node_modules/@umijs/plugin-ui-blocks/lib/ui/utils.js:60:26
at Array.reduce ()
at getComponents (/home/franckrain/mianshiya-public/node_modules/@umijs/plugin-ui-blocks/lib/ui/utils.js:48:42)
at /home/franckrain/mianshiya-public/node_modules/@umijs/plugin-ui-blocks/lib/ui/utils.js:60:26
Done in 4.90s.
请问如何解决?
The text was updated successfully, but these errors were encountered: