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

Regression in route generation from 5.1.1 to 6.x.x: "This node kind is unknown" #1629

Open
2 of 4 tasks
azymnis opened this issue May 22, 2024 · 1 comment
Open
2 of 4 tasks

Comments

@azymnis
Copy link

azymnis commented May 22, 2024

Sorting

  • I'm submitting a ...

    • bug report
    • feature request
    • support request
  • I confirm that I

    • used the search to make sure that a similar issue hasn't already been submit

Description

When generating the routes from my project using tsoa v6.2.1 (typescript 5.3.3) I get the following error:

Generate routes error.
  GenerateMetadataError: This node kind is unknown: 241
  At unknown position...
 This was caused by '<unknown name>'

This used to work fine for tsoa v5.1.1

Steps to Reproduce

Our code is a bit complex so I could not get the chance to create a minimal example that reproduces this issue. I also grepped the code to understand why we would get a This node kind is unknown error. Could you explain to me how this could happen?

One thing to note is that we do use yarn workspaces and we do have some interfaces defined in a shared package between our frontend and backend. Could this be causing issues?

Context (Environment)

Version of the library: 6.2.1
Version of NodeJS: 20.11.0
Typescript: v5.3.3

  • Confirm you were using yarn not npm: [x]

Though keep in mind that we are using yarn v4.1.1

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale label Jun 22, 2024
@WoH WoH removed the Stale label Jun 22, 2024
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

2 participants