Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking changes against typedoc 0.22.x #441

Closed
azatoth opened this issue Oct 14, 2021 · 1 comment · Fixed by #447
Closed

Breaking changes against typedoc 0.22.x #441

azatoth opened this issue Oct 14, 2021 · 1 comment · Fixed by #447
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@azatoth
Copy link
Contributor

azatoth commented Oct 14, 2021

Seems they've added new breaking changes to typedoc that affects plugin loading; Trying to use the plugin with 0.22.5 results in following:

Error: The plugin typedoc-plugin-mermaid could not be loaded.
Error: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/lib/converter' is not defined by "exports" in /home/azatoth/project/node_modules/typedoc/package.json
    at new NodeError (internal/errors.js:322:7)
    at throwExportsNotFound (internal/modules/esm/resolve.js:322:9)
    at packageExportsResolve (internal/modules/esm/resolve.js:545:3)
    at resolveExports (internal/modules/cjs/loader.js:450:36)
    at Function.Module._findPath (internal/modules/cjs/loader.js:490:31)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:888:27)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (/home/azatoth/project/node_modules/typedoc-plugin-mermaid/dist/index.js:6:17)

Seems to be related to TypeStrong/typedoc#1696

@kamiazya
Copy link
Owner

@azatoth
Thank you for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants