polyforest / jsdoc-tsimport-plugin

A JSDoc plugin to support the typescript module import syntax.
Apache License 2.0
34 stars 5 forks source link

Error during doc generation #10

Open fabienwnklr opened 2 years ago

fabienwnklr commented 2 years ago

Hi, i stricteley have following the steps and i have this error during the doc generation, any solutions? Thank's !

image

Edit : Missing module name create this error

nbilyk commented 2 years ago

jsdoc expects path arguments, for example jsdoc src -c jsdoc.conf.json or jsdoc index.js -c jsdoc.conf.json This plugin could definitely use better error messaging if the path is missing.

fabienwnklr commented 2 years ago

@nbilyk this error appear when de have no module name

NotTimTam commented 3 weeks ago

I am also getting this error:

usr/local/bin/node /home/runner/work/_actions/andstor/jsdoc-action/v1/node_modules/jsdoc/jsdoc.js /home/runner/work/ascii.js/ascii.js/ -r -c /home/runner/work/ascii.js/ascii.js/jsdoc.json -t /home/runner/work/_actions/andstor/jsdoc-action/v1/node_modules/better-docs -R /home/runner/work/ascii.js/ascii.js/README.md -d /home/runner/work/ascii.js/ascii.js/docs

/home/runner/work/ascii.js/ascii.js/node_modules/jsdoc-tsimport-plugin/index.js:93
            .slice(srcDir.length + 1).replace(/\\/g, '/');
                          ^