-
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
default gatsby project does not compile #3467
Comments
Did you install globally I just ran |
I'm having the same problem scaffolding a project after installing |
@KyleAMathews I created a new node environment and did the following npm install -g gatsby-cli
gatsby new newproject
cd newproject
gatsby develop and I still got the same error. You mention a potential problem with node 9, but I did use node version 9.3.0 last week successfully and just retested it ,using nodeenv, to be sure and I still have the error. For the sake of completeness I have tested both gatsby-starter-hello-world and gatsby-starter-blog and they both work fine. @wbprice you might want to get going with gatsby-starter-hello-world since it works. Thx guys |
Another issue on this https://github.com/gatsbyjs/gatsby-starter-default/issues/41 I think it was this PR yesterday #3283 upgrading style-loader I just reverted it and released a new version of Gatsby — could people here try upgrading to the latest version of Gatsby and see if things work now? |
I created a fresh environment with the latest installable version of gatsby 1.9.153. I executed the same cmds as before. Unfortunately, the issue still appear to be there. |
This issue is now fixed for me with version 1.9.55. Good Work. |
This problem seems to have reared it's head again in 2.0.0-beta.1 ERROR Failed to compile with 1 errors error in ./src/layouts/index.css Module build failed: BrowserslistError: Unknown browser query |
Yip, just ran with version [email protected] and it has no problems. |
Can you try with |
I'm having the same issue. working with [email protected] and getting: if I used a v1 starter, do I need to do anything to "upgrade" to v2? what's the difference bw v1 and v2 starters? Thanks!!! |
Can confirm it happens with Windows: 10
|
Confirm with |
See #6426 |
still on version 2.4.1 |
Updating gatsby-cli to |
Description
Upon creating a new project with gatsby new myproject, the gatsby develop command fails with an error
Environment
Gatsby version:[email protected] + [email protected]
Node.js version:9.4.0
Operating System: Ubuntu 16.04.3 LTS
Actual result
gatsby develop fails with the following error:
ERROR Failed to compile with 1 errors
This relative module was not found:
Expected behavior
The project should compile and be accessible through the browser on localhost
Steps to reproduce
In a fresh node environment:
The text was updated successfully, but these errors were encountered: