TypeScript 1.3 support

johnny_reilly's Avatar

johnny_reilly

20 Nov, 2014 10:14 AM

Hi guys,

I'm getting build failures after I upgraded a project to TypeScript 1.3 (tools version 1.1):

https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.1...

Are you planning to add TypeScript 1.3 support any time soon? My guess is builds against that will fail until it is added?

  1. Support Staff 1 Posted by Feodor Fitsner on 20 Nov, 2014 06:08 PM

    Feodor Fitsner's Avatar

    Hi Johnny,

    As suggested here you can use VS 2015 image which TS 1.3 is part of or install it with NPM during the build.

  2. 2 Posted by johnny_reilly on 21 Nov, 2014 10:16 AM

    johnny_reilly's Avatar

    Hey Feodor,

     

    Thanks for responding.

     

    I tried adding an npm install typescript to my pre-build script but it didn’t work as I expected. The failed build is here: https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14

     

    This was the error message:

     <https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L101>
    101C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): error : Your project file uses a different version of the TypeScript compiler and tools than is currently installed on this machine. No compiler was found at C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\tsc.exe. You may be able to fix this problem by changing the <TypeScriptToolsVersion> element in your project file. [C:\projects\proverb-gulp\Proverb.Web\Proverb.Web.csproj]

     <https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L102> 102C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\tsc.exe" is invalid. [C:\projects\proverb-gulp\Proverb.Web\Proverb.Web.csproj]

     <https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L103> 103Command exited with code 1

     

    Am I using the wrong approach to pull in an NPM package?

     

    John

  3. Support Staff 3 Posted by Feodor Fitsner on 21 Nov, 2014 06:26 PM

    Feodor Fitsner's Avatar

    OK, I see. Then you might just need running your build on Visual Studio 2015 image: http://help.appveyor.com/discussions/suggestions/459-image-with-mic...

  4. 4 Posted by johnny_reilly on 21 Nov, 2014 07:43 PM

    johnny_reilly's Avatar

    Done it - we're all good! Thanks.

    On 21 Nov 2014 18:26, Feodor Fitsner <[email blocked]> wrote:

    // Please reply above this line
    ==================================================

    From: Feodor Fitsner (Support staff)

    OK, I see. Then you might just need running your build on Visual Studio 2015 image: http://help.appveyor.com/discussions/suggestions/459-image-with-mic...

    On Fri, Nov 21 at 10:16 AM, johnny_reilly wrote:

    Hey Feodor,

     

    Thanks for responding.

     

    I tried adding an npm install typescript to my pre-build script but it didn’t work as I expected. The failed build is here: https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14

     

    This was the error message:

     <https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L101>
    101C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): error : Your project file uses a different version of the TypeScript compiler and tools than is currently installed on this machine. No compiler was found at C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\tsc.exe. You may be able to fix this problem by changing the <TypeScriptToolsVersion> element in your project file. [C:\projects\proverb-gulp\Proverb.Web\Proverb.Web.csproj]

     <https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L102> 102C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\tsc.exe" is invalid. [C:\projects\proverb-gulp\Proverb.Web\Proverb.Web.csproj]

     <https://ci.appveyor.com/project/JohnReilly/proverb-gulp/build/1.0.14#L103> 103Command exited with code 1

     

    Am I using the wrong approach to pull in an NPM package?

     

    John

    Having trouble reading this? View this discussion online: TypeScript 1.3 support.

    To unsubscribe and stop receiving emails from http://help.appveyor.com, visit this page

  5. johnny_reilly closed this discussion on 31 Dec, 2014 11:23 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM

 

21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM