Skip to content

Can't build site : SCSS processing failed : must be a color must be a color  #464

@nlamirault

Description

@nlamirault
❯ git submodule update --force --recursive --init --remote && cd docs && npm install postcss-cli && hugo                                                                                                            
Submodule 'docs/themes/docsy' (https://github.com/google/docsy.git) registered for path 'docs/themes/docsy'                                                                                                         
Cloning into '/tmp/portefaix/docs/themes/docsy'...                                                                                                                                                                  
Submodule path 'docs/themes/docsy': checked out '534729d6d6f25f106a9dd66cd11d3b0a7e777acf'                                                                                                                          
Submodule 'assets/vendor/Font-Awesome' (https://github.com/FortAwesome/Font-Awesome.git) registered for path 'docs/themes/docsy/assets/vendor/Font-Awesome'                                                         
Submodule 'assets/vendor/bootstrap' (https://github.com/twbs/bootstrap.git) registered for path 'docs/themes/docsy/assets/vendor/bootstrap'                                                                         
Cloning into '/tmp/portefaix/docs/themes/docsy/assets/vendor/Font-Awesome'...                                                                                                                                       
Cloning into '/tmp/portefaix/docs/themes/docsy/assets/vendor/bootstrap'...                                                                                                                                          
Submodule path 'docs/themes/docsy/assets/vendor/Font-Awesome': checked out 'fcec2d1b01ff069ac10500ac42e4478d20d21f4c'                                                                                               
Submodule path 'docs/themes/docsy/assets/vendor/bootstrap': checked out '5560c86070c8be08f76801bbc7e525eea4fc0cf6'                                                                                                  
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):                                                                                                      
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})                                                   
                                                                                                                                                                                                                    
+ postcss-cli@7.1.2                                                                                                                                                                                                 
added 116 packages from 107 contributors and audited 117 packages in 5.58s

13 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Start building sites …                                                                                                                                                                                              
WARN 2021/02/25 07:52:08 Page.URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url                           
Total in 383 ms                                                                                                                                                                                                     
Error: Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): SCSS processing failed: file "/tmp/portefaix/docs/themes/docsy/assets/scss/_colors.scss", line 4, col 18: argument `$color2` 
of `mix($color1, $color2, $weight: 50%)` must be a color                                                                                                                                                            

With Hugo :

$ ❯ hugo version
Hugo Static Site Generator v0.80.0/extended linux/amd64 BuildDate: unknown

Any idea how fix that ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions