-
Notifications
You must be signed in to change notification settings - Fork 888
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
Can't build site : SCSS processing failed : must be a color must be a color #464
Comments
If you're using version 8 of postcss (or higher) you need to install |
Same error @LisaFC . I try with a fresh repository :
|
Installed verssion are : "name": "postcss",
"version": "7.0.35",
"description": "Tool for transforming styles with JS plugins", "name": "postcss-cli",
"version": "7.1.2",
"description": "CLI for PostCSS", |
Ok, let me give it a go. I haven't tried building the example site with Hugo 0.8.0 (and higher) so could be something in there... |
So mine just built fine with Hugo 0.80.0 and these postcss versions:
Is yours just a straight copy of the Docsy example? |
Just noticed someone else got exactly the same error in #304 because they were using a very new (alpha at the time) version of Bootstrap, let me investigate further. I see Bootstrap 5 is in beta now so if it breaks our site we may need to make some adjustments.... Though if you just cloned the example site you would have the theme's current version of Bootstrap, which is 4.5.3, I'm not sure how you'd have a different one. |
OK, so I looked more closely at your shell output up there, and you actually have Bootstrap checked out somewhere close to head (last updated 6 days ago), which means you are somewhere past v5 beta and may have hit breaking changes. I think the problem is that you've updated Docsy's own submodules rather than just pulled them down, which means you're getting the current repo versions of Bootstrap and FontAwesome (which we do not currently want, as they're beyond the latest GA release). If you try just
(not |
Did you try my suggestion and did it work? |
Yes @LisaFC . Thanks for your help |
👍 |
With Hugo :
Any idea how fix that ?
The text was updated successfully, but these errors were encountered: