dokker
dokker copied to clipboard
Cannot read property 'template' of undefined
You documentation doesn't provide any documentation what all the properties of the .dokker.json are and how they are used.
I copied the dokker/templates to my local templates dir.
This link http://dokkerjs.com/annotated/dokker.js from http://dokkerjs.com/ is broken.
Here is my .dokker.json:
{
"dir": "docs",
"jsdoc": {
"title": "MyFamilyVoice",
"source": "src/native.js",
"markdown": "README.md",
"html": "index.html",
"readme": "README.md",
"template": "templates/index.ejs.html",
"github": "https://github.com/bartonhammond/MVF-mobile/blob/master/src/native.js",
"site": "http://dokkerjs.com"
}
}
When I run "dokker" ->
~/projects/MFV/MFV-mobile (feature/docs)$ dokker
/usr/local/lib/node_modules/dokker/node_modules/promise/lib/done.js:10
throw err;
^
TypeError: Cannot read property 'template' of undefined
at /usr/local/lib/node_modules/dokker/dokker.js:393:40
at tryCallOne (/usr/local/lib/node_modules/dokker/node_modules/promise/lib/core.js:37:12)
at /usr/local/lib/node_modules/dokker/node_modules/promise/lib/core.js:103:15
at flush (/usr/local/lib/node_modules/dokker/node_modules/promise/node_modules/asap/raw.js:50:29)
at doNTCallback0 (node.js:417:9)
at process._tickCallback (node.js:346:13)