Closed brunomiguel closed 2 years ago
It was an issue with a globally installed npm module. It's fixed now
I have a similar issue. If it's not related sorry for necrobumping, then will make another issue. So, while trying to build static site the following error arise:
Error: Error building site: POSTCSS: failed to transform "css/eureka.css" (text/css): resource "css/project1/css/eureka.css_fc3f76d7bee2760c3a903059afc3d9b2" not found in file cache
I've found that if baseURL is set to "/", then everything works as expected; if it is set to "https://user.github.io/project1" then the build fails and displays the above error.
Tried npm i -g postcss-cli autoprefixer
locally as well as a GitHub workflow in actions but neither worked.
What else could be done?
Describe the bug When building the static content, PostCSS displays an error and doesn't build the CSS (even with the latest theme commit)
To Reproduce run 'hugo'
Expected behavior
Builds the CSS
Environment
Additional context The error: