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 build failed: Error: Couldn't find preset "es2015" relative to directory #19

Open
zhangwei900808 opened this issue Nov 21, 2017 · 6 comments

Comments

@zhangwei900808
Copy link

image

@JackChius
Copy link

同样问题 层主解决了吗,有没有什么好办法

@zhangwei900808
Copy link
Author

@JackChius 没有解决,我换了一个播放器

@dlpuzhangyue
Copy link

npm install --save-dev babel-preset-es2015
亲测有效

@dlpuzhangyue
Copy link

@zhangwei900808

@JackChius
Copy link

@zhangwei900808 我把组件里面的package.json里的es2015改成es5就好了,能播放但是没有空格暂停那些功能后面自己加了上去,不知道跟大家的一样不
@dlpuzhangyue 迟些试下你的

@dlpuzhangyue
Copy link

@JackChius 本地视频无法加载 ,服务端有可能存在跨域的问题,代码有些许bug

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

3 participants