jsonresume.org icon indicating copy to clipboard operation
jsonresume.org copied to clipboard

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

Open jingxuanlim opened this issue 1 year ago • 1 comments

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.

jingxuanlim avatar Aug 08 '24 03:08 jingxuanlim

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

thomasdavis avatar Aug 08 '24 17:08 thomasdavis