google / docsy-example

An example documentation site using the Docsy Hugo theme
https://docsy.dev
Apache License 2.0
461 stars 681 forks source link

Not able to build website, error on SCSS #111

Closed nlamirault closed 3 years ago

nlamirault commented 3 years ago

Hi, i try to build the docsy exampe site, but it fails :

❯ git clone git@github.com:google/docsy-example.git                                                                                                                                                                 
Cloning into 'docsy-example'...                                                                                                                                                                                     
remote: Enumerating objects: 6, done.                                                                                                                                                                               
remote: Counting objects: 100% (6/6), done.                                                                                                                                                                         
remote: Compressing objects: 100% (6/6), done.                                                                                                                                                                      
remote: Total 1253 (delta 1), reused 3 (delta 0), pack-reused 1247                                                                                                                                                  
Receiving objects: 100% (1253/1253), 2.50 MiB | 4.06 MiB/s, done.                                                                                                                                                   
Resolving deltas: 100% (626/626), done.                                                                                                                                                                             

❯ cd docsy-example                                                                                                                                                                                                  

❯ git submodule update --force --recursive --init --remote                                                                                                                                                          
Submodule 'themes/docsy' (https://github.com/google/docsy) registered for path 'themes/docsy'                                                                                                                       
Cloning into '/tmp/docsy-example/themes/docsy'...                                                                                                                                                                   
Submodule path 'themes/docsy': checked out '20d76ee453c60180121c89772e32ed137566e312'                                                                                                                               
Submodule 'assets/vendor/Font-Awesome' (https://github.com/FortAwesome/Font-Awesome.git) registered for path 'themes/docsy/assets/vendor/Font-Awesome'                                                              
Submodule 'assets/vendor/bootstrap' (https://github.com/twbs/bootstrap.git) registered for path 'themes/docsy/assets/vendor/bootstrap'                                                                              
Cloning into '/tmp/docsy-example/themes/docsy/assets/vendor/Font-Awesome'...                                                                                                                                        
Cloning into '/tmp/docsy-example/themes/docsy/assets/vendor/bootstrap'...
Submodule path 'themes/docsy/assets/vendor/Font-Awesome': checked out 'fcec2d1b01ff069ac10500ac42e4478d20d21f4c'
Submodule path 'themes/docsy/assets/vendor/bootstrap': checked out '5560c86070c8be08f76801bbc7e525eea4fc0cf6'

❯ npm install 

added 117 packages, and audited 118 packages in 1s                                                        

found 0 vulnerabilities   

❯ hugo
Start building sites … 
Total in 1050 ms
Error: Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): SCSS processing failed: file "/tmp/docsy-example/themes/docsy/assets/scss/_colors.scss", line 4, col 18: argument `$color2` o
f `mix($color1, $color2, $weight: 50%)` must be a color 
LisaFC commented 3 years ago

Duplicate of https://github.com/google/docsy/issues/464