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

"error Command "typedoc" not found." #96

Open
ukslim opened this issue Nov 14, 2023 · 0 comments
Open

"error Command "typedoc" not found." #96

ukslim opened this issue Nov 14, 2023 · 0 comments

Comments

@ukslim
Copy link

ukslim commented Nov 14, 2023

Running as described in the docs gives this error.

$ nx run libraries-calculation-types:typedoc

> nx run libraries-calculation-types:typedoc

{
  command: 'yarn typedoc',
  args: [ '--options typedoc.json' ],
  processOpts: { cwd: 'packages/libraries/calculation-types', shell: true }
}

yarn run v1.22.19

warning package.json: No license field

error Command "typedoc" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

npx typedoc finds typedoc. yarn typedoc also finds typedoc.

jh:~/git/ww-elrond$ npx nx --version
Nx Version:
- Local: v17.1.1
- Global: Not found
jh:~/git/ww-elrond$ yarn typedoc
yarn run v1.22.19
$ /Users/johnhartnup/git/ww-elrond/node_modules/.bin/typedoc
[info] Loaded plugin typedoc-plugin-rename-defaults
[info] Loaded plugin typedoc-plugin-extras
[info] Loaded plugin typedoc-plugin-zod
[info] Loaded plugin @mxssfd/typedoc-theme
[debug] Using TypeScript 5.2.2 from ./node_modules/typescript/lib
[warning] No entry points were provided, this is likely a misconfiguration.
[debug] Converting with 0 programs 0 entry points
[debug] Finished getting entry points in 0ms
[debug] Begin readme.md/package.json search at ./
[debug] Finished conversion in 4ms
[debug] Validation took 0ms
[debug] Pre render async jobs took 192ms
[debug] There are 2 pages to write.
[info] Documentation generated at ./docs
[debug] HTML rendering took 242ms
[debug] Full run took 275ms
✨  Done in 0.84s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant