Open lirc572 opened 3 years ago
I wrote in #272
For anyone encountering this problem now, please either share your resume.json or make sure it is valid first. (and try several themes) and report back please, will figure it out.
This repros for me with: https://gist.github.com/rodericj/d1d3d3dcc062f3fd6d9a91d45e82e740/05336887f6ea15f924d757bdd968614da2d8e7d8.
I'm running on an
node resume export resume.html --theme=paper
I actually don't get any output on any commands that I'm calling, unless there is an error with the json. In which case I get an error like this:
$ node resume export resume.html --theme=paper
node:internal/modules/cjs/loader:1137
throw err;
SyntaxError: /Users/roderic/dev/rodericj/d1d3d3dcc062f3fd6d9a91d45e82e740/resume.json: Unexpected token , in JSON at position 738
at parse (<anonymous>)
which seems about right.
As a workaround I can always print to pdf from registry.jsonresume.org
A bit the same on my side. Running Ubuntu 20.04 along with npm shipped with the distribution.
$ sudo apt install npm
$ sudo npm install resume-cli # it fails with -g option, permission issue
$ ~/node_modules/.bin/resume init
$ ~/node_modules/.bin/resume export --format pdf test.pdf
The last command blocks forever. It seems to start some chromium processes which eat the CPU in the background until Ctrl+C.
When running on Ubuntu20.04, doing a html export generates an html file that contains only styles, as mentioned in #271 2 years ago, doing a pdf export just blocks forever, and the generated pdf file is blank. Please try to fix the issues soon.