Comments (6)
Hi @jerethom. No, I haven't ran into this issue yet. Could you please try to reproduce the issue with an older version of typedoc (eg. 0.17.8)? I haven't used the plugin with 0.18.0 yet and read about some changes concerning types. This is just to figure out first if the problem is related to the plugin or typedoc itself.
from typedoc-umlclass.
I had the same error up to version 0.17.7
, at version 0.17.6
I had this error which must be the same as this one.
Loaded plugin /.../habu/node_modules/typedoc-plugin-mermaid
Loaded plugin /.../habu/node_modules/typedoc-plugin-pages
Error: The plugin /.../habu/node_modules/typedoc-umlclass could not be loaded.
Error: umlClassDiagramBoxBorderWidth must be >= 0
at Object.convert (/.../node_modules/typedoc/dist/lib/utils/options/declaration.js:37:23)
at Options.setOptionValueToDefault (/.../node_modules/typedoc/dist/lib/utils/options/options.js:119:64)
at Options.addDeclaration (/.../node_modules/typedoc/dist/lib/utils/options/options.js:53:14)
at PluginOptions.addToApplication (/.../node_modules/typedoc-umlclass/dist/plugin_options.js:349:25)
at Plugin.addOptionsToApplication (/.../node_modules/typedoc-umlclass/dist/plugin.js:121:22)
at Plugin.initialize (/.../node_modules/typedoc-umlclass/dist/plugin.js:113:14)
at load (/.../node_modules/typedoc-umlclass/dist/index.js:10:27)
at PluginHost.load (/.../node_modules/typedoc/dist/lib/utils/plugins.js:28:21)
at CliApplication.bootstrap (/.../node_modules/typedoc/dist/lib/application.js:50:22)
at CliApplication.bootstrap (/.../node_modules/typedoc/dist/lib/cli.js:29:30)
/.../node_modules/typedoc/dist/lib/utils/options/declaration.js:37
throw new Error(getBoundsError(numberOption.name, numberOption.minValue, numberOption.maxValue));
^
Error: umlClassDiagramBoxBorderWidth must be >= 0
at Object.convert (/.../node_modules/typedoc/dist/lib/utils/options/declaration.js:37:23)
at Options.setOptionValueToDefault (/.../node_modules/typedoc/dist/lib/utils/options/options.js:119:64)
at Options.reset (/.../node_modules/typedoc/dist/lib/utils/options/options.js:24:18)
at CliApplication.bootstrap (/.../node_modules/typedoc/dist/lib/application.js:51:22)
at CliApplication.bootstrap (/.../node_modules/typedoc/dist/lib/cli.js:29:30)
at Object.<anonymous> (/.../node_modules/typedoc/bin/typedoc:5:5)
from typedoc-umlclass.
Yes, you should not go lower than the peer dependency version, which is: 0.17.7
Ok, then this might be a bug in the plugin. Can I ask you to use the option --umlClassDiagramVerboseOutput true
and try again? This should output some debug info and might help us find out which type is causing the problem. We might then look at that type to see if there is anything special about it.
from typedoc-umlclass.
Looking at the code this could be caused by recursive type definitions. Could you provide any update please? If not I will have to somehow investigate this myself.
from typedoc-umlclass.
Unfortunately I can't reproduce this issue. @jerethom could you provide some feedback to debug this issue further? Are you by any change using the typedoc flag --ignoreCompilerErrors
?
from typedoc-umlclass.
Since I can't reproduce this issue and ignoreCompilerErrors
has been removed from the latest TypeDoc version I'm closing this as "cannot reproduce".
If someone can reproduce this issue feel free to post here or open a new one. Thanks.
from typedoc-umlclass.
Related Issues (20)
- Typedoc-plugin-pages supports HOT 4
- Interfaces and base classes are missing in the class diagram HOT 6
- Typedoc keeps hanging and generates a lot of logs HOT 4
- Support generics/template classes HOT 1
- When diagram generation fails typedoc hangs HOT 2
- Failure to load module with error for umlClassDiagramBoxBorderWidth value HOT 8
- Sort class members by visibility HOT 1
- markdown table not rendered correctly HOT 1
- Add support for PlantUML picoweb HOT 1
- Move options into object HOT 1
- Automatically determine number of CPUs HOT 1
- TypeDoc 0.24.x support HOT 2
- TypeDoc 0.25.x support HOT 6
- Format functions in diagrams HOT 2
- UML CODE HOT 7
- Wrong return value of methods HOT 8
- Legend definition if using icon instead of text HOT 7
- Extend option umlClassDiagramLocation to embed images in the HTML HOT 3
- Class Name instead of umlClassDiagram-xxx.png or .svg HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typedoc-umlclass.