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

Error when trying to generate ISC license #5

Open
sfrdmn opened this issue Aug 16, 2014 · 0 comments
Open

Error when trying to generate ISC license #5

sfrdmn opened this issue Aug 16, 2014 · 0 comments

Comments

@sfrdmn
Copy link

sfrdmn commented Aug 16, 2014

Looks like the header in templates.json is null for ISC, and looks like the code tries to access an attribute on that null header at some point

/Users/sean/npm/lib/node_modules/lice-js/licenseTemplate.js:42
        body: bodyHeader.body,
                        ^
TypeError: Cannot read property 'body' of undefined
    at new newTemplate (/Users/sean/npm/lib/node_modules/lice-js/licenseTemplate.js:42:19)
    at Object.createLicense (/Users/sean/npm/lib/node_modules/lice-js/lice.js:20:25)
    at /Users/sean/npm/lib/node_modules/lice-js/bin/cli.js:99:20
    at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:551:21
    at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:227:13
    at iterate (/Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:134:13)
    at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:145:25
    at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:229:17
    at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:556:34
    at async.series.cleanUpArgs.year (/Users/sean/npm/lib/node_modules/lice-js/bin/cli.js:83:19)
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