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

hugo server - POSTCSS: failed to transform "css/styles.css" #1

Open
frohwerk opened this issue Jun 1, 2020 · 1 comment
Open

hugo server - POSTCSS: failed to transform "css/styles.css" #1

frohwerk opened this issue Jun 1, 2020 · 1 comment

Comments

@frohwerk
Copy link

frohwerk commented Jun 1, 2020

I cannot run the dev server on my Windows 10 machine. Seems related to tailwind and postcss, since hugo in general (with other templates) works fine. Output with debug and verbose logging:

INFO 2020/06/01 08:54:22 No translation bundle found for default language "en"
INFO 2020/06/01 08:54:22 Translation func for language en not found, use default.
INFO 2020/06/01 08:54:22 i18n not initialized; if you need string translations, check that you have a bundle in /i18n that matches the site language or the default language.
INFO 2020/06/01 08:54:22 Using config file:
Building sites … INFO 2020/06/01 08:54:22 syncing static files to F:\temp\hackathon\landingpage\
DEBUG 2020/06/01 08:54:22 Render XML for "sitemap" to "\\sitemap.xml"
Built in 34 ms
Error: Error building site: POSTCSS: failed to transform "css/styles.css" (text/css): resource "css/css/styles.css_2470d520f8390e01a1a99d32c19f09b5" not found in file cache
@frohwerk
Copy link
Author

frohwerk commented Jun 1, 2020

Solution: The themes/theme-landing/node_modules/.bin folder must be on the path

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