-
Notifications
You must be signed in to change notification settings - Fork 504
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
Cannot upgrade from 5.x.x to 6.x.x using Express, Prisma and Multer uploads #1651
Comments
Hello there RomainGueffier 👋 Thank you for opening your very first issue in this project. We will try to get back to you as soon as we can.👀 |
The error
is something I came across and filed a bug for #1642. Unfortunately it has been closed without a fix. I have recently done some more digging and think the issue is slightly more complicated than I originally thought. This stems from a change in #1620 which introduced the property
I think there are two choices:
If one of the maintainers can comment I'm more than happy to contribute a fix to this part of the issue |
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 |
Issue is still up to date |
@RomainGueffier, @mattdean-digicatapult |
@jackey8616 whyn are we going to have 6.4.1? I am facing the same issue.. |
I'm not sure, It depends on our another collaborator @WoH, |
We have v6.5 now, thanks for the ping. |
Thanks for the work!
Where |
@RomainGueffier |
@jackey8616 Working on it but I can't reproduce error for now outside of my company repo 😭. Will let you know thanks! |
OK, after deep investigations, seem like what I tried previously with prisma types to avoid error is the cause of error on this new version of tsoa, so I revert back to use Prisma type directly and it worked! I face this issue #1582 since it was long time without updating tsoa but there is a workaround. Multer error is also gone. So everything works !! 🚀 thanks so much for this fix, happy to enter version 6 😄 |
Hi,
Tsoa 6 CLI
spec-and-routes
is still crashing after multiple attempts to upgrade on each minor version since version 6.Some issues about this seems similar but have been closed as completed, however I still encounter those issues.
All is working correctly in Tsoa 5
Prisma errors:
Multer errors:
Other errors:
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
tsoa spec-and-routes
to complete without typescript errors.Ideally:
Current Behavior
To bypass typescript errors, I had to write:
Possible Solution
--
Steps to Reproduce
Run tsoa spec and routes
Context (Environment)
Version of the library: 6.x.x, in example 6.4.0
Version of NodeJS: 18-22
Version of Typescript: 5.5.3
Detailed Description
--
Breaking change?
--
The text was updated successfully, but these errors were encountered: