Skip to content
This repository has been archived by the owner on May 8, 2022. It is now read-only.

Unhandled Rejection (Error): Cannot find module './locale' 项目无法启动 #40

Open
jokingzhang opened this issue May 3, 2020 · 5 comments

Comments

@jokingzhang
Copy link

node: v10.11.0
umi: 2.13.13
复现步骤:
1、下载项目

git clone --depth=1 https://github.com/hqwlkj/umi-dva-antd-mobile.git my-umi-dva-antd-mobile

2、安装依赖

cd my-umi-dva-antd-mobile/ && npm install

3、启动

npm start

image

是不是,没锁版本啊

@jokingzhang
Copy link
Author

image

@jokingzhang jokingzhang changed the title 项目无法启动 Unhandled Rejection (Error): Cannot find module './locale' 项目无法启动 May 3, 2020
@hqwlkj
Copy link
Owner

hqwlkj commented May 7, 2020

这个应该是 moment 包的版本依赖问题 ,可以参考一下 这两篇文档 https://blog.csdn.net/fgg9655/article/details/105922854/

https://blog.csdn.net/weixin_42237935/article/details/105898010

@hqwlkj
Copy link
Owner

hqwlkj commented May 7, 2020

最近在做 flutter 项目,没有关注这边,如果有什么问题,欢迎提交 issue;我会抽时间处理并解答。

@jokingzhang
Copy link
Author

好的,我回头试一下

@hqwlkj
Copy link
Owner

hqwlkj commented May 7, 2020

@jokingzhang 感谢你的关注

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants