rsteube/jsonresume-headless

could not be resolved from current working directory

Opened this issue · 2 comments

Hi rsteube !
When I execute ./resume-cli.sh export resume.html -f html --theme flat

the cli show me, next output ->

/usr/local/lib/node_modules/resume-cli/build/render-html.js:46
throw new Error(theme path ${themePath} could not be resolved from current working directory);
^
Error: theme path jsonresume-theme-flat could not be resolved from current working directory
at _default (/usr/local/lib/node_modules/resume-cli/build/render-html.js:46:11)
at createHtml (/usr/local/lib/node_modules/resume-cli/build/export-resume.js:84:46)
at module.exports (/usr/local/lib/node_modules/resume-cli/build/export-resume.js:36:5)
at Command. (/usr/local/lib/node_modules/resume-cli/build/main.js:67:5)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
at async /usr/local/lib/node_modules/resume-cli/build/main.js:79:3

Any idea what's wrong ?
Adrian

No, got the same error. serve works though 🤔 .
Might be related to the way it is installed (globaly/locally): jsonresume/resume-cli#243

@afreisinger not fixed yet, but i found this little marvel.
Put it in a container here if you're interested.