[英]ENOENT: no such file or directory in tsconfig.app.json using angular 4?
I am using angular 4 and spring boot,while execute the project using command line..its showing error我正在使用 angular 4 和 spring boot,同时使用命令行执行项目..它显示错误
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请参阅下面的错误图像
Check the path for the tsconfig property in the angular.json file.检查angular.json文件中tsconfig属性的路径。 Correcting that path should fix this error.更正该路径应该可以修复此错误。
"architect":{
....
....
....
"tsConfig": "apps/projectName/tsconfig.app.json",
....
....
....
}
I researched this issue for the solution: Your Angular project has a tsconfig.app.json.我研究了这个问题的解决方案:您的 Angular 项目有一个 tsconfig.app.json。 This file is being specified in your .angular-cli.json file.这个文件是在你的 .angular-cli.json 文件中指定的。
You could control your app src structure according to below structure.您可以根据以下结构控制您的应用程序 src 结构。
Your app lives in the src folder:您的应用程序位于 src 文件夹中:
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.你可以检查你的项目 src。
References:参考:
从 src 文件夹中剪下 tsconfig.app.json 文件并将其粘贴到您的主文件夹中(意味着您有 src 、 e2e 等文件的位置) 很容易说将其粘贴到一个目录中。
Ionic throws this error when you are in a different folder by accident and run the build process.当您意外位于不同的文件夹中并运行构建过程时,Ionic 会抛出此错误。 It will not tell you you're in a non-project folder, it just throws this error...它不会告诉你你在一个非项目文件夹中,它只会抛出这个错误......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.