-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi, just wanted to try your package - it seems like a really handy tool! However, I've got some troubles using it. I've installed it, added it to dependencies, added a script to run it - and my README.md file has ## API section that could be replaced with the contents generated from docts.
However, I seem to have a problem with generatc the content. Perhaps you could have a look and point me to the solution? I'm not sure whether I've an issue with the structure of my app or its something else.
If you want, you can see my current setup where it occurs here: btt-node
path.js:28
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'path', 'string');
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string
at assertPath (path.js:28:11)
at Object.resolve (path.js:1184:7)
at new DocBuilder (btt-node/node_modules/docts/dist/DocBuilder.js:37:29)
at Object.patchReadme (btt-node/node_modules/docts/dist/Patcher.js:19:9)
at Object.<anonymous> (btt-node/node_modules/docts/dist/cli.js:6:11)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)
at tryModuleLoad (module.js:503:12)
at Function.Module._load (module.js:495:3)
at Module.require (module.js:585:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (btt-node/node_modules/docts/bin/docts:3:1)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels