Skip to content
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

对demo/javascript目录进行yarn start报错 #135

Open
mshmyw opened this issue Feb 10, 2020 · 2 comments
Open

对demo/javascript目录进行yarn start报错 #135

mshmyw opened this issue Feb 10, 2020 · 2 comments

Comments

@mshmyw
Copy link

mshmyw commented Feb 10, 2020

当前问题

执行yarn start报错:Cannot find file: 'index.js' does not match the corresponding name on disk: './node_modules/React/react'.

环境:node:12.0

期待的正确输出

@shadowings-zy
Copy link
Collaborator

看起来是demo中wuhan2020-mapviz的依赖版本过低导致的问题
我已经更新了demo中package.json中wuhan2020-mapviz的依赖版本,使用最新版1.0.11应该就不会出现此问题了哈

@mshmyw
Copy link
Author

mshmyw commented Feb 10, 2020

嗯的确是版本低了,原来是webpack配置有误。好了现在,感谢!

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

No branches or pull requests

2 participants