本文介绍了"tsc.exe"用代码1退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 asp.net mvc 角度2 .我将Angular更新为2.1.1版.现在,当我编译时,弹出"tsc.exe" exited with code 1错误.我的Typescript文件看不到库文件.

I'm using asp.net mvc and angular 2. I updated Angular to version 2.1.1. Now when I compile, the "tsc.exe" exited with code 1 error popped up. My Typescript files do not see the library files.

可能是什么问题?

,.

当我安装Typescrypt.Compiller 2.0.3和Typescrypt.MSBuild 2.0.3时,我遇到了两个新的错误:

When I installed Typescrypt.Compiller 2.0.3 and Typescrypt.MSBuild 2.0.3, I got two new bugs:

  1. ""OutputLogFile"" "VsTsc"参数不支持该参数.任务.验证参数是否在任务上存在,并且它是可设置的公共实例属性.和
  2. "VsTsc"任务无法使用其输入初始化

固定

我从项目TypeScript.Compiler和TypeScript.MSBuild中删除了.现在不要为什么我安装了这个. =)然后下载并安装了适用于Visual Studio 2015的新版本TypeScript工具(TypeScript_Dev14Full.exe).解决了我的问题.

fixed

I removed from project TypeScript.Compiler and TypeScript.MSBuild. Don't now why i installed this. =) Then downloaded new version TypeScript Tools for Visual Studio 2015 (TypeScript_Dev14Full.exe) and installed. It's solution my problem.

推荐答案

我从项目TypeScript.Compiler和TypeScript.MSBuild中删除了.现在不要为什么我安装了这个. =)然后下载并安装了适用于Visual Studio 2015的新版本TypeScript工具(TypeScript_Dev14Full.exe).解决了我的问题.

I removed from project TypeScript.Compiler and TypeScript.MSBuild. Don't now why i installed this. =) Then downloaded new version TypeScript Tools for Visual Studio 2015 (TypeScript_Dev14Full.exe) and installed. It's solution my problem.

这篇关于"tsc.exe"用代码1退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 00:27
查看更多