GithubHelp home page GithubHelp logo

Comments (5)

derekregent avatar derekregent commented on May 19, 2024 2

This problem occurred for me in Ubuntu. This should be in the readme:
1.
Install Gatsby per official tutorial
2.
Get folder for theme:
gatsby new serif https://github.com/JugglerX/gatsby-serif-theme.git

2b.
if there are errors with node-sass preinstall it and then rerun 2.:
npm install node-sass

  1. Deploy site
    cd serif
    gatsby develop

Thanks!!

from gatsby-serif-theme.

netlander avatar netlander commented on May 19, 2024

Should be made clear in the readme.

from gatsby-serif-theme.

JugglerX avatar JugglerX commented on May 19, 2024

Thank you all for leaving helpful hints for other people.

node-sass is listed as a dependancy in the package.json - so all you should need to do is run npm install and then run Gatsby. It does not necessarily need to be installed globally.

There are various reasons why node-sass might fail which depend on your individual environment. Often re-running npm install can fix it, or as you have suggested installing it globally might also resolve the issue.

There is no reason to include every installation edge case in the readme. I'm glad you have solved the problem and this issue will be helpful for others in the future

from gatsby-serif-theme.

netlander avatar netlander commented on May 19, 2024

The installation instructions in the readme are incorrect.

from gatsby-serif-theme.

JugglerX avatar JugglerX commented on May 19, 2024

I just tried installing it, i had to run npm run start instead of gatsby develop - but that has nothing to do with node sass... gatsby develop would probably have worked if I had it installed globally.

Honestly you couldent sound any more arrogant and entitled. If you think there is a problem try doing a PR. updating the README has to be the easiest PR you could do...

from gatsby-serif-theme.

Related Issues (7)

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.