我陷入了一个直到昨天才发生的问题
每当我尝试进行构建时,它通常会显示以下错误
Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
error TS5055: Cannot write file 'E:/angular/dist/demo/demo2/src/assets/app/js/layout-builder.js' because it would overwrite input file.
Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
我不知道出现此错误的原因,因为我尚未修改tsconfig.json中的任何内容。
是的,我已经将编辑器从崇高状态转换为vscode,我不知道发生了什么
我也有相同的应用程序副本,我试图在该应用程序中构建完美的应用程序
下面是供参考的tsconfig.json文件
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"lib": [
"es2017",
"dom"
]
}
}
我想念什么吗?还是这里有问题?