Reputation: 766
I am using angular 4 and spring boot,while execute the project using command line..its showing error
ENOENT: no such file or directory, stat 'D:\AJITH VANUSTON\Spring Project\1Medeil Project\Project medeil RAR files\1gradle project\angular 4 boot\microservicesample-master\src\tsconfig.app.json'
Pls see below the Error Image
Upvotes: 30
Views: 40588
Reputation: 11
Cut out the tsconfig.app.json file from src folder and paste it into your main folder (means where you have src , e2e ,etc files are there ) Easy to say paste it in one directory back.
Upvotes: 1
Reputation: 2998
Check the path for the tsconfig property in the angular.json file. Correcting that path should fix this error.
"architect":{
....
....
....
"tsConfig": "apps/projectName/tsconfig.app.json",
....
....
....
}
Upvotes: 54
Reputation: 5618
Ionic throws this error when you are in a different folder by accident and run the build process. It will not tell you you're in a non-project folder, it just throws this error...
Upvotes: 1
Reputation: 633
I researched this issue for the solution: Your Angular project has a tsconfig.app.json. This file is being specified in your .angular-cli.json file.
You could control your app src structure according to below structure.
Your app lives in the src folder:
src
-app
-assets
-environments
-browserslist
-favicon.ico
-index.html
-karma.conf.js
-main.ts
-polyfills.ts
-styles.css
-test.ts
-tsconfig.app.json
-tsconfig.spec.json
-tslint.json
You could check your project src.
References:
Upvotes: 4