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

Cannot read property 'split' of undefined #22

Open
sakrist opened this issue Jul 15, 2017 · 0 comments
Open

Cannot read property 'split' of undefined #22

sakrist opened this issue Jul 15, 2017 · 0 comments

Comments

@sakrist
Copy link

sakrist commented Jul 15, 2017

Got issue when I run node json2code.js test_schema.json VB

~/Downloads/json2code-master/json2code.js:154
      folder = path.join(folder, path.join(...pkg.split('.')));
                                                 ^
TypeError: Cannot read property 'split' of undefined

example scheme is http://json-schema.org/examples.html

node --version
v8.1.4
npm --version
5.3.0

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