Skip to content

How to get JSDOC and Plugin to work? #1

@z3dev

Description

@z3dev

Not sure what's happening but I know that JSDOC is using require(). So just wondering how this plugin can actually work?

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/z3dev/dev/jscad/OpenJSCAD.org.v3.performance-part-2/node_modules/.pnpm/@alphanull+jsdoc-plugin-esnext@1.2.0/node_modules/@alphanull/jsdoc-plugin-esnext/index.js from /Users/z3dev/dev/jscad/OpenJSCAD.org.v3.performance-part-2/node_modules/.pnpm/jsdoc@4.0.4/node_modules/jsdoc/lib/jsdoc/plugins.js not supported.
Instead change the require of index.js in /Users/z3dev/dev/jscad/OpenJSCAD.org.v3.performance-part-2/node_modules/.pnpm/jsdoc@4.0.4/node_modules/jsdoc/lib/jsdoc/plugins.js to a dynamic import() which is available in all CommonJS modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions