Giter Site home page Giter Site logo

Comments (4)

justinformentin avatar justinformentin commented on August 17, 2024

Very strange. I'm checking now. Thanks for letting me know.

from gatsby-v2-tutorial-starter.

justinformentin avatar justinformentin commented on August 17, 2024

@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.

threebasicparts avatar threebasicparts commented on August 17, 2024

@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.

justinformentin avatar justinformentin commented on August 17, 2024

Great! Glad I could help, and thank you!

from gatsby-v2-tutorial-starter.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.