Open DaveTacker opened 8 years ago
did you npm install
before running resume serve
?
Very sorry for the delay with this response. npm install
did fix the problem. Thank you!
Hi, Even after npm install, it doesnt seem to be working. It seems to be giving error for over a month or so. Please help me out.
same here
same here!
@javix64 in the interim could you try https://github.com/rbardini/resumed
are you linking the theme locally with npm?
and/or how exactly are you attempting to develop a local theme?
are you in a theme directory cd jsonresume-theme-example
and then running resume serve
?
@javix64 I've pushed up a new version should should fix your problem
try resume serve --theme .
from within your local theme directory.
Hey @thomasdavis, first of all: thank you for dedicate your time to this project <3
First of all, I am using Node v21 without no issues in the common theme stackoverflow, I can run without problems any script.
I was trying to modify the archived theme: jsonresume-stackoverflow-react from @levino that is a fork from jsonresume-stackoverflow.
When I use resume serve --theme .
in the jsonresume-stackoverflow, is working without any problem.
But the problem is when I try to use the same script in the stackoverflow-react theme.
This is the output of my console:
[javi@x535 jsonresume-theme-stackoverflow-react]$ npm run dev
> jsonresume-theme-stackoverflow-react@2.1.0 dev
> resume serve --theme .
{
theme: '.',
dir: 'public',
resumeFilename: 'resume.json',
cb: [Function (anonymous)]
}
Preview: http://localhost:4000
Press ctrl-c to stop
Error: Theme . could not be resolved relative to /home/javi/developing/jsonresume-theme-stackoverflow-react
at _default (/home/javi/developing/jsonresume-theme-stackoverflow-react/node_modules/resume-cli/build/render-html.js:25:13)
at /home/javi/developing/jsonresume-theme-stackoverflow-react/node_modules/resume-cli/build/builder.js:42:26
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)
Could not run the render function from local theme.
...
--- my resume goes here ---
...
Requesting theme from server...
/home/javi/developing/jsonresume-theme-stackoverflow-react/node_modules/resume-cli/build/builder.js:9
return value.match(/jsonresume-theme-(.*)/)[1];
^
TypeError: Cannot read properties of null (reading '1')
at denormalizeTheme (/home/javi/developing/jsonresume-theme-stackoverflow-react/node_modules/resume-cli/build/builder.js:9:46)
at sendExportHTML (/home/javi/developing/jsonresume-theme-stackoverflow-react/node_modules/resume-cli/build/builder.js:14:30)
at /home/javi/developing/jsonresume-theme-stackoverflow-react/node_modules/resume-cli/build/builder.js:50:7
Node.js v21.6.2
Sorry Thomas. Something I did wrong. Now is running without any problem.
Thank you!
I'm running into an issue while developing a theme whereas I'm unable to utilize the
resume serve
command to quick 'n easy theme development. The only error I'm given is pretty ambiguous with neither Google nor the freenode channel being helpful. I have the same results if I utilize a theme from any repo (like Boilerplate) or if I specify my own resume.json. Running the command in a different directory (like ~/Downloads/) has the same result.Running Ubuntu 15.10 on a MacBookAir.
Here's a copy/pasta of my terminal: