jsonresume / resume-cli

CLI tool to easily setup a new resume 📑
https://jsonresume.org
MIT License
4.56k stars 389 forks source link

fix: renderHtml not a function bug #587

Closed deduced closed 12 months ago

deduced commented 3 years ago

When trying to run resume serve -t <theme> with any locally installed theme, the serve command fails with this error:

TypeError: renderHtml is not a function
...
Could not run the render function from local theme.

Fix is simple and adds .default to renderHtml import.

howdy10 commented 3 years ago

Can we get this approved!!! Been having this issue

SethFalco commented 12 months ago

Hey! Thanks for opening the pull request.

This was already addressed in:

It just wasn't merged and released yet, but it was released in v3.0.5. Closing this as resolved.