hacksalot / HackMyResume

Generate polished résumés and CVs in HTML, Markdown, LaTeX, MS Word, PDF, plain text, JSON, XML, YAML, smoke signal, and carrier pigeon.
https://fluentdesk.com/hackmyresume
MIT License
9.28k stars 527 forks source link

LaTeX conversion not happening, ReferenceError: ex is not defined #154

Open jargnar opened 8 years ago

jargnar commented 8 years ago

On my machine (Windows 10), with the latest HackMyResume (1.8.0), I'm unable to convert to LATEX. It gives me the below error:

$ hackmyresume BUILD resume.json TO out/resume.all -t awesome

*** HackMyResume v1.8.0 ***
Reading FRESH resume: resume.json
Applying AWESOME theme (3 formats)
Generating LATEX resume: out\resume.latex
Error: ReferenceError: ex is not defined
Generating JSON resume: out\resume.json
Generating YML  resume: out\resume.yml

$
drkarl commented 8 years ago

See https://github.com/fresh-standard/fresh-themes/blob/master/themes/awesome/README.md#warning

drkarl commented 8 years ago

Also I assume you have a TeX distribution in your PATH, right?

SethCalkins commented 8 years ago

similar issue...

  *** HackMyResume v1.8.0 ***
Reading JRS resume: resume.json
Converting resume.json to FRESH format.
Applying AWESOME theme (3 formats)
Generating LATEX resume: out2/my-resume.latex
An error occurred during template invocation.
   TypeError: Cannot read property 'phone' of undefined
Generating JSON resume: out2/my-resume.json
Generating YML  resume: out2/my-resume.yml
tsunaminoai commented 8 years ago

I'm also experiencing this issue.

$ hackmyresume BUILD resume.json TO out/resume.all -t awesome

*** HackMyResume v1.8.0 ***
Reading JRS resume: resume.json
Converting resume.json to FRESH format.
Applying AWESOME theme (3 formats)
Generating LATEX resume: out/resume.latex
An error occurred during template invocation.
   TypeError: Cannot read property 'phone' of undefined
Generating JSON resume: out/resume.json
Generating YML  resume: out/resume.yml

I have the phone node in my jsonresume style input file "phone": "555-555-5555", but there is no corresponding contact section in the converted FRESH json file.

ishu3101 commented 8 years ago

I'm also having this issue on Windows 10 & HackMyResume version v1.8.0.

DancingQuanta commented 7 years ago

Got the phone issue too

hacksalot commented 6 years ago

Thanks, this is helpful. We should have a fix out in the next day or so.

hacksalot commented 6 years ago

Anybody still experiencing this in 1.9.0-beta?

tsunaminoai commented 6 years ago

I can get past the original issue, however it seems that the README generated in the output latex directory does not provide the correct sequence of commands to get the output PDF. Running xelatex examples/resume.tex from within the output latex directory does not complete as it cannot find the resume/*.tex files from pwd. Running the command from within the examples directory where resume/ resides yields many latex errors. I dont know if this is an issue with HackMyResume or with the awesome theme.

hacksalot commented 6 years ago

Okay, this should be resolved shortly, and we'll pull in the latest version of Awesome at the same time. Thanks