jsdoc-tsimport-plugin icon indicating copy to clipboard operation
jsdoc-tsimport-plugin copied to clipboard

Error during doc generation

Open fabienwnklr opened this issue 3 years ago • 3 comments

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

fabienwnklr avatar Jan 19 '22 12:01 fabienwnklr

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.

nbilyk avatar Jan 19 '22 16:01 nbilyk

@nbilyk this error appear when de have no module name

fabienwnklr avatar Jan 19 '22 18:01 fabienwnklr

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, '/');
                          ^

NotTimTam avatar Oct 22 '24 02:10 NotTimTam