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

Module not found: Can't resolve '@babel/runtime/helpers/esm/extends' #1

Closed
macc6579 opened this issue Apr 16, 2019 · 2 comments
Closed

Comments

@macc6579
Copy link

macc6579 commented Apr 16, 2019

您好,我尝试运行您的代码,安装npm过程顺利;编译过程有报错,
在StackOverflow查看了相关问题,疑似babel版本过低;
但升级最新版本后,依然有同样的问题。
希望能和您一起看下这个问题~~非常感谢
完整报错代码
Failed to compile.

./node_modules/_history@4.9.0@history/esm/history.js Module not found: Can't resolve '@babel/runtime/helpers/esm/extends' in '/Users/UserName/dva-travel/node_modules/_history@4.9.0@history/esm'

@poozhu
Copy link

poozhu commented Apr 16, 2019

dvajs/dva#2032

@macc6579
Copy link
Author

dvajs/dva#2032

谢谢~我把package.json dva配置升级到 "dva": "^2.6.0-bata3",就可以了;
另外还需要安装 babel-polyfill

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