Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not be resolved from current working directory #2

Open
afreisinger opened this issue Oct 13, 2021 · 2 comments
Open

could not be resolved from current working directory #2

afreisinger opened this issue Oct 13, 2021 · 2 comments

Comments

@afreisinger
Copy link

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

@rsteube
Copy link
Owner

rsteube commented Oct 14, 2021

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

@rsteube
Copy link
Owner

rsteube commented Oct 22, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants