Giter Club home page Giter Club logo

Comments (5)

dagoodma avatar dagoodma commented on May 28, 2024

I read about using npm run project-setup and that cleared up this issue, but try as I might this theme is throwing tons of other errors:

11:07 $ npm run dev

> [email protected] dev
> hugo server

Built in 3 ms
Error: Error building site: "/home/dagoodma/Documents/davie-goodman-hugo-website/themes/hugoplate/content/english/sections/call-to-action.md:1:1": 1 error(s) decoding:

* cannot parse 'Render' as bool: strconv.ParseBool: parsing "never": invalid syntax

and then I comment out _build: and the everything below it, and another error appears:

11:07 $ hugo server
Built in 2 ms
Error: Error building site: "/home/dagoodma/Documents/davie-goodman-hugo-website/themes/hugoplate/content/english/pages/elements.md:10:1": failed to extract shortcode: template for shortcode "toc" not found

I'm just gonna move on and find another theme.

from hugoplate.

tfsomrat avatar tfsomrat commented on May 28, 2024

Hey @dagoodma

Sorry for the late reply. we clearly said in our readme file that this theme needs at least Hugo v0.115.1 extended.
image

And you are trying to run this theme using v0.68.3 extended. It will be never going to run. please install the latest Hugo, Go, and Node LTS to run this theme. thanks

from hugoplate.

dagoodma avatar dagoodma commented on May 28, 2024

Hi @tfsomrat! My bad on not checking the documentation better. I'm new to Hugo. I'll give it another try with the newer Hugo. Thanks!

from hugoplate.

dagoodma avatar dagoodma commented on May 28, 2024

I installed the extended version of Hugo v0.115.4 and retried this theme by first copying the example site and doing all of the recommended steps: npm run project-setup, npm install, npm run build. Those all worked (once I installed the extended version), but then running hugo server in the project root failed:

10:44 $ hugo server
Watching for changes in /home/dagoodma/Documents/davie-goodman-hugo-website2/{archetypes,assets,content,data,hugo_stats.json,i18n,layouts,postcss.config.js,static,tailwind.config.js}
Watching for config changes in /home/dagoodma/Documents/davie-goodman-hugo-website2/hugo.toml, /home/dagoodma/Documents/davie-goodman-hugo-website2/config/_default
Start building sites … 
hugo v0.115.4-dc9524521270f81d1c038ebbb200f0cfa3427cc5+extended linux/amd64 BuildDate=2023-07-20T06:49:57Z VendorInfo=gohugoio

Built in 843 ms
Error: error building site: POSTCSS: failed to transform "css/style.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/: binary with name "npx" not found

This looks like an issue related to me using nvm. I'm not sure how to proceed from here. Here's a git issue I found: gohugoio/hugo#9730

Any ideas what to do next?

from hugoplate.

tfsomrat avatar tfsomrat commented on May 28, 2024

It seems you messed up with the steps. not to worry! I have added a quick video in the readme file. take a look.

from hugoplate.

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.