Git Product home page Git Product logo

blogdown-website-with-hugo-theme-learn's Issues

Unable to serve site

Hi there,

Thanks for creating this fork for more stable access to the Learn theme!
I am currently having trouble previewing the template of the theme! I suspect some aspects of the theme are out of date/not compatible with the recent update of blogdown. I have set blogdown.server.verbose = TRUE in my .Rprofile to retrieve the error messages.

Below is the output:

blogdown::serve_site()
Launching the server via the command:
  /Users/fontikar/Library/Application Support/Hugo/0.91.2/hugo server --bind 127.0.0.1 -p 4321 --themesDir themes -t hugo-theme-learn -D -F --navigateToChanged
Start building siteshugo v0.91.2-1798BD3F+extended darwin/amd64 BuildDate=2021-12-23T15:33:34Z VendorInfo=gohugoio
WARN 2022/01/12 09:05:05 Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
WARN 2022/01/12 09:05:05 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
WARN 2022/01/12 09:05:05 Page.UniqueID is deprecated and will be removed in a future release. Use .File.UniqueID
ERROR 2022/01/12 09:05:05 [en] REF_NOT_FOUND: Ref "cont/archetypes.fr.md" from page "cont/pages/_index.en.md": page not found
.File.UniqueID on zero object. Wrap it in if or with: {{ with .File }}{{ .UniqueID }}{{ end }}
Built in 143 ms
Error: Error building site: logged 1 error(s)
sh: line 0: kill: (48064) - No such process
Error: It took more than 30 seconds to launch the server. An error might have occurred with hugo. You may run blogdown::build_site() and see if it gives more info.

Running blogdown::build_site() doesn't provide any further info

Start building siteshugo v0.91.2-1798BD3F+extended darwin/amd64 BuildDate=2021-12-23T15:33:34Z VendorInfo=gohugoio
WARN 2022/01/12 09:08:25 Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
WARN 2022/01/12 09:08:25 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
WARN 2022/01/12 09:08:25 Page.UniqueID is deprecated and will be removed in a future release. Use .File.UniqueID
ERROR 2022/01/12 09:08:26 [en] REF_NOT_FOUND: Ref "cont/archetypes.fr.md" from page "cont/pages/_index.en.md": page not found
.File.UniqueID on zero object. Wrap it in if or with: {{ with .File }}{{ .UniqueID }}{{ end }}
Total in 156 ms
Error: Error building site: logged 1 error(s)

Here is my current R and computer setup:

R version 4.1.2 (2021-11-01)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 11.6

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

locale:
[1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7       bookdown_0.24    digest_0.6.29    later_1.3.0      R6_2.5.1        
 [6] jsonlite_1.7.2   magrittr_2.0.1   evaluate_0.14    blogdown_1.7     rlang_0.4.12    
[11] rstudioapi_0.13  promises_1.2.0.1 rmarkdown_2.11   tools_4.1.2      servr_0.24      
[16] httpuv_1.6.5     xfun_0.29        yaml_2.2.1       fastmap_1.1.0    compiler_4.1.2  
[21] htmltools_0.5.2  knitr_1.37  

The repo for the site is found here: https://github.com/nicercode/EnvironmentalComputing/tree/scratch

Any advice would be greatly appreciated as I am super keen to use this theme!

Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.