resume-cli
resume-cli copied to clipboard
Resume Export not Working (Bad Json Schema Errors)
I'm on osx, running version 1.2.7
I installed json resume using the prescribed npm install -g resume-cli
I ran resume export resume.html
in a directory containing this example json resume, renamed resume.json
, and got this output/error:
running validation tests on resume.json ...
Cannot export. There are errors in your resume.json schema format.
✗ awards.0.date is undefined , expected undefined
fail 1
Please fix your resume.json file and try again
I think that message should be considered a bug because if a value is undefined and also expected to be undefined, it shouldn't be an issue. resume test
gave the same error message.
I assumed the error message meant that the award object in the example json resume was missing a "date" field and should NOT be missing it, so I added it in ("date": "2010-01-01"
) and got the same error. Nonsense!
As far as I can tell the example resume seems to conform to the json resume schema.
Hello @brentshermana
I think I had a similar problem (same OS and resume version)
Error:
basics.email is undefined , expected undefined
I fixed that by adding @
sign in the provided email (previously I put some random text for just checking this software).
So I can suggest you check date format - it seems that this error is also thrown when field content (not only existence) validation fails