Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to run "hugo server" #1

Closed
ghost opened this issue Nov 17, 2022 · 2 comments
Closed

Fail to run "hugo server" #1

ghost opened this issue Nov 17, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 17, 2022

$ hugo server -DF --disableFastRender
Start building sites …
hugo v0.105.0-0e3b42b4a9bdeb4d866210819fc6ddcf51582ffa+extended darwin/amd64 BuildDate=2022-10-28T12:29:05Z VendorInfo=gohugoio
ERROR 2022/11/17 14:05:04 POSTCSS: failed to transform "css/light.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
ERROR 2022/11/17 14:05:04 POSTCSS: failed to transform "css/dark.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Error: Error building site: POSTCSS: failed to transform "css/toigian.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Built in 4118 ms

@ntk148v
Copy link
Owner

ntk148v commented Nov 17, 2022

Hi @Miraboreas, did you run npm install in order to install postcss, postcss-cli, tailwindcss?

I've updated README to remind it.

@ghost
Copy link
Author

ghost commented Nov 17, 2022

Yeah, before I open this issue I've runnpm install.
Just now I moved "exampleSite/resources" to my root directory, it works😂
I don't know what happened.

@ghost ghost closed this as completed Nov 17, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant