-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
[BUG] Cannot find module '@tsed/platform-http/testing' or its corresponding type declarations. #2928
Comments
@vangie it’s related to your tsconfig. Generated a project, using CLI and compare the diff. I already migrated two project on v8. It works! see you |
Here is prisma project example on v8: |
Hello @Romakita, do you have an idea of the issue in this {
"compilerOptions": {
"baseUrl": ".",
"target": "esnext",
"module": "nodenext",
"sourceMap": true,
"declaration": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"allowImportingTsExtensions": true,
"moduleResolution": "nodenext",
"isolatedModules": false,
"suppressImplicitAnyIndexErrors": false,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": false,
"useDefineForClassFields": false,
"noUnusedParameters": false,
"allowSyntheticDefaultImports": true,
"importHelpers": true,
"skipLibCheck": true,
"newLine": "LF",
"noEmit": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"lib": ["es7", "dom", "ESNext.AsyncIterable"],
"typeRoots": ["./node_modules/@types"]
},
"include": [
"src/**/*.ts"
],
"exclude": ["node_modules", "./public", "dist", "tests"],
"linterOptions": {
"exclude": []
},
} PS: I'm having a look on the repo you talked about. |
@TheRealAstoo Have you checkout the project example, then installed it, then compiled (or started the project). Try to apply this tsconfig on your project and isolate the correct configuration: |
Check also your typescript version :) |
I will, thank you for the answer :) |
Describe the bug
To Reproduce
npx tsc --noEmit
tsconfig.json
Expected behavior
I try to update "moduleResolution" to 'node16', 'nodenext', or 'bundler',I've encountered many other types of errors, so I hope it can be compatible with my
tsconfig.json
configuration, similar to version 7.Code snippets
No response
Repository URL example
No response
OS
macOS
Node version
Node v20.11.1
Library version
v8.3.0
Additional context
No response
The text was updated successfully, but these errors were encountered: