-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Description
tsconfig.server.json file is missing from Angular project
When I try to migrate the Angular v18 to Angular 19 then got error Migration failed: Path "tsconfig.server.json" does not exist.
To Reproduce
- Upon further verification I found that in angular.json under server
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist-server",
"main": "src/main.ts",
"tsConfig": "tsconfig.server.json"
},
...
}
- If we run the angular project using "ng run Demo.Web:server:dev" then got error like "An unhandled exception occurred: ENOENT: no such file or directory, open '...\src\Web\ClientApp\tsconfig.server.json'"
Expected behavior
tsconfig.server.json should be there OR change "tsConfig": "tsconfig.json" in angular.json file
Screenshots

Metadata
Metadata
Assignees
Labels
No labels