Build:Unknown compiler option 'listemittedfiles'

前端 未结 5 2073
鱼传尺愫
鱼传尺愫 2020-12-10 11:32

I get the error as below when building project after uninstalling the TypeScript 2.0. (Visual Studio 2015)

tsc : error TS5023: Build:Unknown compiler

5条回答
  •  醉酒成梦
    2020-12-10 12:06

    I had the some problem. I found out, that I had a wrong (i.e. older) version of typescript installed (in addition to the current one) and even though the latest version was installed too, the old typescript compiler (tsc) was used.

    Open a MSBuild Windows Console and run the command following command:

    tsc -v

    and see what version it gives

    uninstalling the old version solved the problem

提交回复
热议问题