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" #69

Open
sthzg opened this issue Sep 16, 2016 · 1 comment
Open

Module build failed: Error: Couldn't find preset "es2015" #69

sthzg opened this issue Sep 16, 2016 · 1 comment

Comments

@sthzg
Copy link
Member

sthzg commented Sep 16, 2016

Lately I've started hitting the below error on two build machines (Node 6.2.x and 6.3.x) and it was also reported here stylesuxx/generator-react-webpack-redux#45.

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

We might have to check whether something changed in the type of dependencies that lets babel-preset-es2015 miss all the sudden. If so we can add it to the devDependencies.

@stylesuxx
Copy link
Contributor

As far as I have back tracked this issues, it seems to only happens with 'older' node Versions.
Newer versions give the warning, that is is no longer required. Under 6.x.x I have only seen the warning.
< 4.5.0 I got the error. Not sure about inbetween though,...

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