-
Beta Was this translation helpful? Give feedback.
Answered by
dvvelzen
Oct 24, 2025
Replies: 1 comment 2 replies
-
|
Hi @dvvelzen ,
Shouldn't be. Can you please provide a reproduction sample? Thanks!
which appears to be in order.) Best, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Hi @daogrady,
You are right in a new empty project with
cds init <name> --add typescriptit works fine.The culprit is in the
tsconfig.jsoninclude:{ ... ,"include": ["srv/**/*.ts"] }This was added to actually ignore other typescript files in the project setup, for example the utility scripts in the project root and the unit tests in
test/.I recon this is inferring the rootDir to switch from
.tosrv/. Which is by default not part of thetsconfig.jsonfile in the barebone project.After adding rootDir to the
tsconfig.jsonit works fine;{ "compilerOptions": { ... ,"rootDir": "." ... } }Sorry for the inconvenience.
Dennis