-
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
[v2] hello-world starter gives gatsby-link errors #7457
Comments
Couldn't reproduce. According to the error message, the issue is with missing packages. So probably Removing Also, it's strange that |
@melissamcewen what versions of npm/gatsby are you using? I just ran the following and it successfully installed the project: Trying to repro:
This starts the development server as I would expect without any missing package errors. My local setup:
|
Couldn't reproduce either. Try removing the If you do, then it'd be helpful if you can show us the version of |
Seems related to #6834. |
I was on NPM 5 😳 So if you get this error try upgrading NPM or using Yarn |
I had the same issue. I can confirm it's NPM 5 issue. I updated to 6.4.0 and the dev server compiled first time. |
I saw the same issue and it was due the
|
I also had the issue but it seemed to be due having the wrong |
See if you mixed |
@Jaikant gatsby-link is not used anymore. |
@dantehemerson you are right. |
Was testing out the new v2 starters and ran
gatsby new hello-world https://github.com/gatsby js/gatsby-starter-hello-world#v2
The command is in https://next.gatsbyjs.org/docs/gatsby-starters/
When I run
gatsby develop
I get:I tried deleting
.cache
and still got the error. The other v2 starter I triedgatsby-starter-default
works fine.The text was updated successfully, but these errors were encountered: