"tsc.exe"用代码1退出

编程入门 行业动态 更新时间:2024-10-11 15:20:58
本文介绍了"tsc.exe"用代码1退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I'm using asp 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:

  • ""OutputLogFile"" "VsTsc"参数不支持该参数.任务.验证参数是否在任务上存在,并且它是可设置的公共实例属性.和
  • "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退出

    本文发布于:2023-11-13 06:27:10,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1583696.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:代码   quot   tsc   exe

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!