Comments (4)
Very strange. I'm checking now. Thanks for letting me know.
from gatsby-v2-tutorial-starter.
@threebasicparts Ok I figured it out. Someone else had this problem. https://github.com/gatsbyjs/gatsby-starter-blog/issues/110
I tried it with gatsby new
and it worked on my machine, but then it didn't work when I git clone
and npm i
. So it seems like you don't have yarn installed, and if you don't, Gatsby falls back to use npm. So if you just install yarn, you shouldn't have this issue.
If for some reason you really don't want to install yarn, all you have to do is go to the package.json
and change "gatsby": "^2.0.28",
to "gatsby": "latest",
I just tested this out and it works. Weird since I used npm when I developed it, but it looks like it has something to do with this, quoted from the issue I linked.
It seems the real cause of the problem here is that the v2 branch of this template is package locked to only use beta 1 of gatsby 2.
Let me know if this works for you.
from gatsby-v2-tutorial-starter.
@justinformentin I'm using a new computer and typically would have yarn installed.
I just installed yarn and tested again. The development server started as expected, everything working great now.
Many thanks for posting your excellent Gatsby starter I think it's very nice.
from gatsby-v2-tutorial-starter.
Great! Glad I could help, and thank you!
from gatsby-v2-tutorial-starter.
Related Issues (11)
- How to add descriptions(SEO) to each pages? HOT 2
- Tags page already exists
- Pagination for displaying posts
- Seo Issue
- About page body text not responsive HOT 1
- Hi i was wondering if it would be possible to just have one post on the landing page but loaded randomly? HOT 1
- Support to add gif or video HOT 2
- Optional Cover Image HOT 1
- Removing the blue hue on cover images. HOT 1
- Using gatsby-cli to install tutorial with Node 12+ (12.4.0) with npm 6.9 in nvm 0.34.0 on MacOS OSX fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-v2-tutorial-starter.