Reveal.js: head.min.js missing

Created on 7 May 2019  ·  5Comments  ·  Source: hakimel/reveal.js

When I load slides produced with revealjs master, or 3.8.0, I get an error about lib/js/head.min.js being missing (404). I don't get this error with 3.7.0 as the file still exists.

Are we meant to include some dependencies, or should something be cleaned up to stop referring to head.min.js >= 3.8.0 that no longer has that file?

question

Most helpful comment

I am having the same problem. I am converting using jupyter nbconvert, just changing the reveal_url_prefix option from 3.7.0 to 3.8.0. Works with 3.7.0, but does not work with 3.8.0 when I open the slides html file. However, that is probably related to the nbconvert function. The --post serve option does not work for both btw.

All 5 comments

head.min.js is no longer included or required since reveal.js 3.8.0. I double-checked but I can't see it referred to from anywhere inside the repo. Let me know if you see it being referred to from somewhere I've missed.

I am having the same problem. I am converting using jupyter nbconvert, just changing the reveal_url_prefix option from 3.7.0 to 3.8.0. Works with 3.7.0, but does not work with 3.8.0 when I open the slides html file. However, that is probably related to the nbconvert function. The --post serve option does not work for both btw.

jupyter nbconvert uses pandoc to generate it's reveal.js presentations.

This was an issue caused by pandoc-templates for pandoc 2.7.2. The default.revealjs template included the reference to head.min.js. This was corrected in pandoc-templates 2.7.3 and on.

Updating your installation of pandoc should solve the issue.

Hi, I am using a presentation done by someone else. I get the errors in firefox console :
Loading failed for the

Related issues

MurhafSousli picture MurhafSousli  ·  5Comments

Seth-Gecko picture Seth-Gecko  ·  4Comments

AnnotatedJS picture AnnotatedJS  ·  5Comments

ghost picture ghost  ·  5Comments

togakangaroo picture togakangaroo  ·  4Comments