www icon indicating copy to clipboard operation
www copied to clipboard

error calling markdownify: text is already rendered, repeating it may cause infinite recursion

Open ashokdey opened this issue 3 years ago • 3 comments

  1. Cloned the repo
  2. Followed the instructions for installing packages
  3. Tried running pnpm dev
Error: Error building site: "/www/content/journals/student-highlight-gabrielle-chang/index.md:1:1": "www/layouts/_default/_markup/render-image.html:3:41": execute of template failed: template: _default/_markup/render-image.html:3:41: executing "_default/_markup/render-image.html" at <markdownify>: error calling markdownify: text is already rendered, repeating it may cause infinite recursion

ashokdey avatar Aug 09 '22 11:08 ashokdey

You're getting this error because the git-meta.html shortcode relies on environment variables that are not present in this repo (nor should they be). If you remove all the calls to gentenv in layouts/shortcodes/git-meta.html, it should work for you.

jesselawson avatar Sep 21 '22 22:09 jesselawson

where is git-meta.html file located?

tuvovan avatar Apr 13 '23 05:04 tuvovan

When looking for a particular file in a repo, you can set the search to only include the local repository. With this search, it's the second result (layouts/shortcodes/git-meta.html).

jesselawson avatar Apr 14 '23 00:04 jesselawson