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

Unable to build #157

Open
yrahcaz opened this issue Feb 16, 2023 · 1 comment
Open

Unable to build #157

yrahcaz opened this issue Feb 16, 2023 · 1 comment

Comments

@yrahcaz
Copy link

yrahcaz commented Feb 16, 2023

Fresh setup, no deviations from repo.

/jsonresume-theme-elegant$ grunt build
Running "clean:build" (clean) task
Cleaning build...OK

Running "copy:build" (copy) task
Copied 1 files

Running "less:development" (less) task
>> 1 stylesheet created.

Running "exec:build_index" (exec) task
Cannot read properties of undefined (reading 'basics')
index.html written to build folder.

Done.
@yrahcaz
Copy link
Author

yrahcaz commented Feb 17, 2023

render.js contains this line thats causing the problem
var resume = require("resume-schema").resumeJson;

My workaround is to place my resume.json in the project root and replace the above line of code with the following:
var resume = JSON.parse(fs.readFileSync("resume.json", "utf8"));

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

1 participant