GithubHelp home page GithubHelp logo

Comments (3)

apvarun avatar apvarun commented on May 23, 2024

@Oziomaoguine007 This theme uses PostCSS to optimize the CSS output with Hugo (https://gohugo.io/hugo-pipes/postcss/)

You will need to run this to set it up. Make sure nodejs is installed in your machine
npm install postcss postcss-cli autoprefixer

from blist-hugo-theme.

scan-dev avatar scan-dev commented on May 23, 2024

also having issue getting server to start .
getting following error:

  • npm installed packages :

npm install postcss postcss-cli autoprefixer up to date, audited 175 packages in 415ms 27 packages are looking for funding run npm fund` for details

found 0 vulnerabilities`

  • the running hugo :

Start building sites … hugo v0.111.3+extended linux/amd64 BuildDate=unknown Error: Error building site: POSTCSS: failed to transform "css/styles.css" (text/css): Input Error: Did not receive any STDIN Built in 937 ms

Tried many scenario even starting over from scratch without success!

even exampleSite gives same error :
hugo server --themesDir ../.. Start building sites … hugo v0.111.3+extended linux/amd64 BuildDate=unknown WARN 2023/04/10 19:09:56 The "twitter_simple" shortcode will soon require two named parameters: user and id. See "/themes/blist/exampleSite/content/en/blog/rich-content.md:24:1" WARN 2023/04/10 19:09:56 The "twitter_simple" shortcode will soon require two named parameters: user and id. See "/themes/blist/exampleSite/content/de/blog/rich-content.md:24:1" Error: Error building site: POSTCSS: failed to transform "css/styles.css" (text/css): Input Error: Did not receive any STDIN Built in 1020 ms

from blist-hugo-theme.

mansoorbarri avatar mansoorbarri commented on May 23, 2024

I am having the same error

error:

PS C:\Users\HP\Desktop\blist> hugo server                                                                                                            Watching for changes in C:\Users\HP\Desktop\blist\{archetypes,assets,content,data,layouts,static,themes}                                             Watching for config changes in C:\Users\HP\Desktop\blist\config.toml                                                                                 Start building sites …                                                                                                                               hugo v0.115.4-dc9524521270f81d1c038ebbb200f0cfa3427cc5+extended windows/amd64 BuildDate=2023-07-20T06:49:57Z VendorInfo=gohugoio                                                                                                                                                                          Built in 4822 ms                                                                                                                                     Error: error building site: POSTCSS: failed to transform "css/styles.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  

my machine:
image

from blist-hugo-theme.

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.