You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use jsdoc@5.0.0-dev.11 tag in order to develop a version of my jsdoc plugin that will be compatible with 5.x. Since jsdoc 5.x is not published to npm, I cloned it and installed locally. However, when I try to run jsdoc, I get an error.
JSDoc configuration
My npm script is jsdoc -c jsdoc.config.js -r and my jsdoc.config.js file is this
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/me/jsdoc-plugin/node_modules/jsdoc/test/index.js' imported from /home/me/jsdoc-plugin/node_modules/jsdoc/cli.js
Expected behavior
jsdoc runs without an error
Current behavior
Throws an error on invocation because the test directory is missing. This is because test/ is included in the .npmignore for the jsdoc package. Yet cli.js imports it. Once I install, test/ is missing so cli.js throws the error.
Your environment
Software
Version
JSDoc
5.0.0-dev.11
Node.js
v18.13.0
npm
9.2.0
Operating system
Debian Linux (Bookworm)
The text was updated successfully, but these errors were encountered:
Input code
I'm trying to use jsdoc@5.0.0-dev.11 tag in order to develop a version of my jsdoc plugin that will be compatible with 5.x. Since jsdoc 5.x is not published to npm, I cloned it and installed locally. However, when I try to run jsdoc, I get an error.
JSDoc configuration
My npm script is
jsdoc -c jsdoc.config.js -r
and myjsdoc.config.js
file is thisJSDoc debug output
Expected behavior
jsdoc runs without an error
Current behavior
Throws an error on invocation because the
test
directory is missing. This is becausetest/
is included in the .npmignore for thejsdoc
package. Yetcli.js
imports it. Once I install,test/
is missing socli.js
throws the error.Your environment
The text was updated successfully, but these errors were encountered: