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

V0.24.2 does not work #2241

Closed
fabo-afpa opened this issue Apr 16, 2023 · 3 comments
Closed

V0.24.2 does not work #2241

fabo-afpa opened this issue Apr 16, 2023 · 3 comments
Labels
bug Functionality does not match expectation
Milestone

Comments

@fabo-afpa
Copy link

Search terms

entry points

Expected Behavior

After an upgrade from 0.24.1 to 0.24.2 and no other change, I expect to run npx typedoc and see the magic happen.

Actual Behavior

I've got this message: [error] Unable to find any entry points. Make sure TypeDoc can find your tsconfig.
Running with --logLevel Verbose tells me that my tsconfig.json is read.

Steps to reproduce the bug

Just upgrade from 0.24.1 with an env where everything works and try to launch typedoc.

Environment

  • Typedoc version: 0.24.2
  • TypeScript version: 5.0.4
  • Node.js version: 16.18.0
  • OS: Win10 21h2
@fabo-afpa fabo-afpa added the bug Functionality does not match expectation label Apr 16, 2023
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Apr 16, 2023

TypeDoc's site rebuilt successfully with 0.24.2, and so did a couple other test sites, so this isn't a universal problem. Are you sure nothing changed in your config?

@hgabor
Copy link

hgabor commented Apr 16, 2023

I could also reproduce the issue, without any configuration files.
Windows 10, 64bit, node v18.16.0 (reproducible in msys2 bash and powershell too)

It's not a minimal repo (I'm teaching how to document TypeScript, NestJS projects), but it shouldn't take too long to install.

https://github.com/hgabor/ts-dokumentacio
Typedoc is ver. 0.24.1

Generate the docs with

$ npx typedoc --entryPointStrategy expand src
[info] Documentation generated at ./docs

Everything works as expected, docs are generated in the "docs" folder.

Now switch to the "latest" branch, the only difference is the typedoc version in package.json:

$ git checkout latest
$ npm install
$ npx typedoc --entryPointStrategy expand src
[error] Unable to find any entry points. Make sure TypeDoc can find your tsconfig

And after switching back to main, just to make sure

$ git checkout main
$ npm install
$ npx typedoc --entryPointStrategy expand src
[info] Documentation generated at ./docs

@Gerrit0 Gerrit0 removed the needs reproduction Needs a minimal reproducible case label Apr 16, 2023
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Apr 16, 2023

Apparently I broke Windows. My Linux box is totally fine... time to figure out how to set up a windows box to test on

@Gerrit0 Gerrit0 added this to the v0.24.3 milestone Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

3 participants