-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Starter doesn't work with Module build failed: Error: Couldn't find preset "env" relative to directory home/<user> #3756
Comments
I could not reproduce this issue with same versions of Gatsby & Node on Ubuntu. Can you try with a starter explicitly like mentioned in #2092 and see if it works? |
Removing a global babel config from my home folder fixed it for me. |
I can confirm that removing my projects .bablerc file fixed the problem for me as I migrate from v1 to v2. |
Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help! |
Description
install
gatsby
, dogatsby create new-site
. go in new-site and dogatsby develop
, gives following error:Environment
Gatsby version: newest
Node.js version: 9.3.0
Operating System: macOS 10.13.3
File contents (if changed):
nothing changed. Directly from create.
Dear community, what is the problem here? I don't want to install
babel-preset-env
globally. I use it with every project, but I just do local install since this way it is easy to prevent this kind of bug in my projects.It seems that gatsby requires babel-preset-env globally?
The text was updated successfully, but these errors were encountered: