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 #29

Closed
zexingguo opened this issue Jul 24, 2017 · 4 comments
Closed

Module Build failed #29

zexingguo opened this issue Jul 24, 2017 · 4 comments

Comments

@zexingguo
Copy link

Module build failed: Error: Couldn't find preset "es2015" relative to directory.

When I important the component it shows me module bild failed, it cant find the .
babelrc in sweet-modal-vue

@edenleung
Copy link

try to install babel-preset-es2015

@smpl
Copy link

smpl commented Oct 19, 2017

i have same problem. i use vue-webpack-template for a project
step to reproduce

vue-cli webpack
npm install sweet-modal-vue --save-dev
npm install babel-preset-es2015 --save

add import { SweetModal, SweetModalTab } from 'sweet-modal-vue'
and i have problem with es2015

@bluefirex
Copy link
Member

We'll be switching away from es2015 to env in the next release.

@bluefirex
Copy link
Member

Fixed in c05fb53, released in v2.0.0

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

No branches or pull requests

4 participants