-
Notifications
You must be signed in to change notification settings - Fork 509
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
The latest version 6.1.4 causes new build issues. #1590
Comments
Seems like skipLibCheck is false explicitly? |
935af8e will fix koa. |
Confirm: Detail tsconfig.json
|
@JimmyBjorklund what package manager are you using? |
I am having a similar issue with the latest version 6.1.5
Using npm (v10.2.4) on arm64v8/node:20.11.1-alpine3.19 (running on M1 Pro) |
|
You can always add joi to (dev)Deps yourself. That would be a fix we can also to, but it doesn't feel great. |
Thanks @JimmyBjorklund for opening an issue over at the hapi repo: hapijs/hapi#4491 |
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 |
Still an 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 |
Still an 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 |
If someone has a good way to fix this on our side, I'll reopen. The way I see it, add joi and don't use it, just to satisfy the type checker, declare it as any, or skip checking on it. |
Still an issue until I installed |
This is still an issue, is there runtime with only express support ? |
The latest version 6.1.4 causes new build issues.
0.932 > tsc
0.932
3.885 node_modules/@hapi/hapi/lib/types/route.d.ts:2:68 - error TS2307: Cannot find module 'joi' or its corresponding type declarations.
3.885
3.885 2 import { ObjectSchema, ValidationOptions, SchemaMap, Schema } from 'joi';
3.885 ~~~~~
3.885
3.887 node_modules/@hapi/hapi/lib/types/server/server.d.ts:4:22 - error TS2307: Cannot find module 'joi' or its corresponding type declarations.
3.887
3.887 4 import { Root } from 'joi';
3.887 ~~~~~
3.887
3.887 node_modules/@tsoa/runtime/dist/routeGeneration/templates/koa/koaTemplateService.d.ts:1:36 - error TS7016: Could not find a declaration file for module 'koa'. '/usr/src/app/node_modules/koa/lib/application.js' implicitly has an 'any' type.
3.887 Try
npm i --save-dev @types/koa
if it exists or add a new declaration (.d.ts) file containingdeclare module 'koa';
3.887
3.887 1 import type { Context, Next } from 'koa';
3.887 ~~~~~
The text was updated successfully, but these errors were encountered: