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
$ npm run build:docs
> [email protected] build:docs
> typedoc
[info] Loaded plugin typedoc-plugin-missing-exports
Loaded plugin typedoc-plugin-versions
[info] Loaded plugin typedoc-theme-yaf
[warning] TypeDoc has been loaded multiple times. This is commonly caused by plugins which have their own installation of TypeDoc. The loaded paths are:
/projects/test/node_modules/typedoc
/projects/test/node_modules/typedoc-theme-yaf/node_modules/typedoc
TypeDoc exiting with unexpected error:
TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:399:5)
at validateString (node:internal/validators:163:11)
at relative (node:path:1191:5)
at ReflectionSymbolId.toObject (/projects/test/node_modules/typedoc/dist/lib/models/reflections/ReflectionSymbolId.js:49:66)
at /projects/test/node_modules/typedoc/dist/lib/models/reflections/project.js:214:35
at Map.forEach (<anonymous>)
at ProjectReflection.toObject (/projects/test/node_modules/typedoc/dist/lib/models/reflections/project.js:213:40)
at Serializer.toObject (/projects/test/node_modules/typedoc/dist/lib/serialization/serializer.js:21:69)
at Renderer.prepareYafTheme (/projects/test/node_modules/typedoc-theme-yaf/src/backend/YafTheme.js:93:59)
at triggerEvents (/projects/test/node_modules/typedoc/dist/lib/utils/events.js:191:43) {
code: 'ERR_INVALID_ARG_TYPE'
}
This theme uses the Typedoc API to parse Typescript into .json fragments (not .html), which then get consumed by a standalone frontend Single Page Application (SPA).
Typedoc can already output .json, but the output is not complete enough to wrap a useful SPA around.
This theme can continue developing if and when;
3.1. Typedoc .json output is complete and consistent
3.2. I have incentive to develop a standalone Typescript parser, thus creating a standalone document product.
After the deps update I got an error:
Looks like wrong inheritance from the default theme.
TypeStrong/typedoc#1786
TypeStrong/typedoc#1741 (comment)
dependencies in package.json:
typedoc.json:
The text was updated successfully, but these errors were encountered: