Git Product home page Git Product logo

Comments (8)

lucperkins avatar lucperkins commented on May 18, 2024 1

@liz-miller Ah, I see. Forgot to put in the README that you'll need to have Yarn installed. Since you're on macOS a simple brew install yarn should do the trick!

from hugo-fresh.

dkinder avatar dkinder commented on May 18, 2024

Did you run the following per the instructions?
(cd themes/hugo-fresh && make setup && make dev)

from hugo-fresh.

liz-miller avatar liz-miller commented on May 18, 2024

Yes, but it failed. Not sure why

from hugo-fresh.

lucperkins avatar lucperkins commented on May 18, 2024

Hmmm. It looks like the CSS isn't being built. Are you running the two processes in separate terminal windows?

from hugo-fresh.

liz-miller avatar liz-miller commented on May 18, 2024

Yes, i ran the (cd themes/hugo-fresh && make setup && make dev) and this error occurred:

Lizs-MBP:fresh-landing-page liz$ (cd themes/hugo-fresh/ && make setup && make dev)
yarn
make: yarn: No such file or directory
make: *** [setup] Error 1

Then when I run the hugo server I receive this error...

Lizs-MBP:fresh-landing-page liz$ hugo server
Building sites … ERROR 2018/06/01 10:07:49 Error while rendering "home" in "": template:
/Users/liz/Documents/hugo/fresh-landing-page/themes/hugo-fresh/layouts/index.html:6:7:
executing "/Users/liz/Documents/hugo/fresh-landing-page/themes/hugo-fresh/layouts/index.html"
at <partial "css.html" .>: error calling partial: template: theme/partials/css.html:5:36: executing
"theme/partials/css.html" at <index .Site.Data.ass...>: error calling index: index of untyped nil
Total in 118 ms
Error: Error building site: logged 1 error(s)

Both run in separate terminals. I'm on a Mac if that makes any difference. Tried removing and setting up the hugo site a few times. Same error.

I have another hugo website running on github pages (no problems), so I'm familiar with that, just curious about how this theme uses Node.js and wanted to try it out!

Thanks!

from hugo-fresh.

lucperkins avatar lucperkins commented on May 18, 2024

Okay, I've update the README to reflect this requirement 👍

from hugo-fresh.

liz-miller avatar liz-miller commented on May 18, 2024

Thanks, I got it to work now!

from hugo-fresh.

lucperkins avatar lucperkins commented on May 18, 2024

@liz-miller Awesome! So glad you were able to get up and running

from hugo-fresh.

Related Issues (20)

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.