blomqma / next-rest-framework

Type-safe, self-documenting APIs for Next.js
https://next-rest-framework.vercel.app
Other
134 stars 17 forks source link

Unable to generate docs #129

Closed nshonda closed 6 months ago

nshonda commented 6 months ago

I started a new project and I'm unable to generate the docs, I have default configurations for a next app but I'm getting the following errors:

Screenshot from 2024-02-19 18-45-10

Screenshot from 2024-02-19 18-45-15

blomqma commented 6 months ago

Does your tsconfig.json contain "skipLibCheck": true and is your TS config located in the root of your project? Also I recommend you to try a new experimental version v5.1.4-beta.1 that changes how dependencies of your code are handled by the CLI commands.

nshonda commented 6 months ago

here's my tsconfig.json, it is located on the root of the project, I've also tried the new experimental version but I'm getting the same errors

image

here's my project structure just in case:

image

blomqma commented 6 months ago

I can't seem to reproduce this, unfortunately. If your code is open source and you have a reproducible example, I could try to debug this further.

blomqma commented 6 months ago

@nshonda Hey I noticed you closed the issue as completed, did you manage to resolve your issue?

nshonda commented 6 months ago

Hey, I'm unable to give you more in depth information about the code, so I closed the issue due to that

Type1J commented 6 months ago

I have a very similar issue. I'm using next 14.1.0 and next-rest-framework 3.1.4-beta1.