jsonresume / jsonresume.org

The mono repo that builds the homepage, utils, ui components, registry and anything else
https://jsonresume.org
68 stars 18 forks source link

Unable to convert resume.json to resume.yaml for RenderCV use #142

Open jingxuanlim opened 1 month ago

jingxuanlim commented 1 month ago

Describe the bug Hello. It's my first time testing out jsonresume.org. I'm interested in a pdf output, so I'm interested in getting the RenderCV pipeline running.

To Reproduce I wasn't able to run the very first command provided on the Getting Started page.

npx @jsonresume/jsonresume-to-rendercv resume.json

resume.json was a direct copy of the template provided on the Schema page.

Here's the error message.

$ npx @jsonresume/jsonresume-to-rendercv resume.json
file:///home/jingxuanlim/.npm/_npx/0c528c405f28a999/node_modules/@jsonresume/jsonresume-to-rendercv/convert.js:27
      social_networks: jsonResume.basics.profiles?.map((profile) => ({
                                                  ^

SyntaxError: Unexpected token '.'

Expected behavior I expected resume.yaml to be generated.

thomasdavis commented 1 month ago

I will check this out this weekend.

In the interim, another contributor found the same problems and built a python version -> https://github.com/guruor/jsonresume-to-rendercv