-
Notifications
You must be signed in to change notification settings - Fork 85
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
Windows: Module build failed: Error: Couldn't find preset "es2015" relative to directory "." #45
Comments
Which node version are you using?
If you can, please use 6.x.x |
I use:
So @stylesuxx you want me to get version |
4.5.0 is LTS And the generator should work with node >= 4.5.0. Also since node 5.0.0 npm 3.x.x is used. It is not beta, it is the version node is "bundled" with. You can check the node release history here => https://nodejs.org/en/download/releases/ it also lists the npm version it came bundled with. |
@stylesuxx Now I have this setup:
still I get this error when running
I have done |
Node 3.10.8? I guess that is a typo. Point why I am asking for your versions is, so that I can play it through with the exact versions. Last weekend I tried with node v.4.5.0 all the way up to v6.5.0, with 3.x npm without a problem. The following might help (I'd still rather debug the current problem):
Also did you clear your projects node_modules directory after switching versions, before running npm install the second time? |
Thank you. It solved the problem!
So perhaps something should be changed in the generator. Have a great day! :-) You may mark this issue as solved. |
hi, just stumbled over this. @netsi1964 the deprecation warning can be solved by updating your Concerning the |
I tried to uninstall the |
@netsi1964 that is expected. The deprecation warning and the error are two separate issues. The npm install gets the error out of the way, the updated .babelrc the deprecation warning. |
I get this build error when I try to
npm start
The text was updated successfully, but these errors were encountered: