Skip to content

"Cannot read property 'split' of undefined" error #136

@piranna

Description

@piranna

With grunt-jsdoc 0.6.6 I'm getting the next error:

Running "jsdoc:all" (jsdoc) task
Verifying property jsdoc.all exists in config...OK
Files: package.json, README.md, lib/WebRtcPeer.js, lib/browser.js, lib/index.js, test/WebRtcPeer.js, test/_common.js -> doc/jsdoc
Options: private, ignoreWarnings=false, timeout=60
Warning: Cannot read property 'split' of undefined Use --force to continue.

At the same time, executing jsdoc 3.3.0 (the one installed as dependency of grunt-jsdoc) directly it works correctly:

[piranna@Mabuk:~/workspace/kurento-utils-js]
 (master) > node_modules/grunt-jsdoc/node_modules/.bin/jsdoc package.json README.md lib/*.js test/*.js -d doc/jsdoc --verbose
Parsing /home/piranna/workspace/kurento-utils-js/lib/browser.js ...complete.
Parsing /home/piranna/workspace/kurento-utils-js/lib/index.js ...complete.
Parsing /home/piranna/workspace/kurento-utils-js/lib/WebRtcPeer.js ...complete.
Parsing /home/piranna/workspace/kurento-utils-js/test/WebRtcPeer.js ...complete.
Generating output files...complete.
Finished running in 0.63 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions