Visual Studio工具的Apache科尔多瓦的错误 [英] Visual Studio Tools for Apache Cordova Error

查看:194
本文介绍了Visual Studio工具的Apache科尔多瓦的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装的Apache科尔多瓦CTP 3.1 在的Visual Studio 2013在Windows 8.1 运行 Visual Studio工具。我收到以下错误,当我尝试运行标准的新项目科尔多瓦(在Android模拟器或设备)。该项目被命名为MyCordova01:

输出窗口显示以下信息:


  

1> C:\\ Program Files文件
  (86)\\的MSBuild \\微软\\ VisualStudio的\\ 12.0 \\打字稿\\ Microsoft.TypeScript.targets(103,5):
  警告:本打字稿编译器没有给出文件进行编译,
  因此它会跳过编译。 1> GeneratedJavascript = 1>
  C:\\用户\\ Vijay.Agarwal \\文档\\ Visual Studio的
  2013 \\项目\\ BlankCordovaApp1 \\ BlankCordovaApp1>称之为C:\\ Program Files文件
  (86)\\的NodeJS \\\\ nodevars.bat 1>你的环境已经建立了
  使用Node.js的0.10.33(IA32)和故宫。 1> ------确保正确的
  从包源码包目录全球安装:
  C:\\ Program Files文件(X86)\\微软的Visual Studio
  12.0 \\ COMMON7 \\ IDE \\ EXTENSIONS \\ L2TH1VSB.CIX \\包\\ VS-MDA
  ==========生成:0成功,1失败,0了最新,0已跳过==========


和显示1警告错误列表


  

警告1打字稿编译器没有给出文件进行编译,
  因此它会跳过编译。 C:\\ Program Files文件
  (86)\\的MSBuild \\微软\\ VisualStudio的\\ 12.0 \\打字稿\\ Microsoft.TypeScript.targets 103 5 BlankCordovaApp8


请帮助我如何解决这个错误/问题。


解决方案

  1. 打字稿是不是一个错误,当你创建一个JavaScript科尔多瓦项目,如果创建打字稿科尔多瓦,该警告会消失发生!


  2. 通常我们的第一次尝试这种生成错误的是通过Visual Studio工具来清除缓存科尔多瓦 - 选项 - 为Apache科尔多瓦工具,然后重新生成项目


请确保您有互联网连接,当你做第2步。

I recently installed Visual Studio Tools for Apache Cordova CTP 3.1 in Visual Studio 2013 running on Windows 8.1. I receive the following error when I try to run a standard new Cordova project (in the Android Emulator or Device). The project is named MyCordova01:

OutPut Window show below message:

1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(103,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling. 1> GeneratedJavascript= 1> c:\Users\Vijay.Agarwal\Documents\Visual Studio 2013\Projects\BlankCordovaApp1\BlankCordovaApp1>call "C:\Program Files (x86)\nodejs\"\nodevars.bat 1> Your environment has been set up for using Node.js 0.10.33 (ia32) and npm. 1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\L2TH1VSB.CIX\packages\vs-mda ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

And Error List showing 1 Warning

Warning 1 The TypeScript Compiler was given no files for compilation, so it will skip compiling. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets 103 5 BlankCordovaApp8

Please help me how to resolved this error/problem.

解决方案

  1. the typescript is not an error, it happens when you create a JavaScript cordova project, if you create typescript cordova, this warning will disappear!

  2. usually our first try to this kind of build error is to clear the cordova cache via visual studio tools - options - tools for apache cordova, then rebuild the project.

make sure you have internet connection when you do step 2.

这篇关于Visual Studio工具的Apache科尔多瓦的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆