Typescript error “Cannot write file … because it would overwrite input file.”

后端 未结 19 1362
醉梦人生
醉梦人生 2021-02-01 12:04

In my Typescript 2.2.1 project in Visual Studio 2015 Update 3, I am getting hundreds of errors in the error list like:

Cannot write file \'C:/{{my-project

19条回答
  •  失恋的感觉
    2021-02-01 12:34

    I got the same issue. In my case, it was the result of the option: allowJs: true.

    So I basically had to remove that line to get rid of the errors. I do not see it in your code, but perhaps it helps you here.

    Good luck!

提交回复
热议问题