Comments (5)
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.
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.
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.
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.
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.
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)
- url vs pageRef HOT 1
- change images directory to blog/english HOT 1
- Remove hasChildren from menu entry definition in example site HOT 1
- Remove dark mode script does not remove theme switcher HOT 2
- Remove unused dns-prefetch links HOT 1
- 404 Defaults to English in Multilingual Site HOT 5
- Please change the default baseURL HOT 5
- npm run build breaks the website HOT 2
- Please change the default baseURL HOT 2
- Site deployed on GitHub pages loses some formatting HOT 1
- Permission to zeon-studio/hugoplate.git denied
- Reload the searchindex.json file twice. HOT 3
- Hero image source HOT 2
- Your file couldn't be accessed HOT 2
- Page widths on mobile displays HOT 6
- CSS is broken when running in Gitpod HOT 3
- when running in provided devcontainer npm run dev errors out HOT 8
- Add basic js testing [enhancement] HOT 1
- CSS broken in .devcontainer example site even after changing baseurl HOT 1
- Error postCSS HOT 4
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 hugoplate.