-
Notifications
You must be signed in to change notification settings - Fork 27
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
gatsby new
fails due to babel-plugin-root-import version mismatch (when package manager is npm)
#151
Comments
Hey @MartinRosenberg, thanks for reporting the issue! ASAP I'll be taking a look at this error. |
Apparently, this is a problem with NPM 7. I've tested with NPM 6, and it's working correctly. I'll try to find another library for the Eslint resolver with correct peer dependencies or submit a PR to update one. For now, you can try removing your |
Sorry for taking so long. I have fixed this issue on #271. Thanks for reporting it @MartinRosenberg ❤️ |
Hello! How this is fixed? I still get this error on NPM 8. |
It was fixed back then. It must have broken again with the recent updates on the packages. PR welcome. |
gatsby new
fails using npm due to issues withbabel-plugin-root-import
, providing the following error:npm error log
Yarn also complains, but it's just a one-line warning:
The text was updated successfully, but these errors were encountered: