我试图在VS中运行Apache Cordova,但面临以下问题。我有VisualStudio 2013和最近为VS安装的Apache Cordova工具。但是,当我创建一个新项目Blank App(Apache Cordova)并尝试构建它时,我得到以下构建错误。
似乎node.js存在一些问题,但似乎无法解决这个问题。提前感谢任何建议!
`
1>------ Build started: Project: myProject, Configuration: Debug Android ------
1>Build started 23. 10. 2016 12:00:25.
1>CompileTypeScript:
1>Skipping target "CompileTypeScript" because all output files are up-to-date with respect to the input files.
1>TrackJsChanges:
1> GeneratedJavascript=scripts\file.js;scripts\file.js.map
1>InstallMDATargets:
1> C:\git\project\mzProject>call "C:\Program Files\nodejs\"\nodevars.bat
1> Your environment has been set up for using Node.js 4.6.0 (x64) 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\TP1XJFAJ.1OZ\packages\vs-mda
1> ------ Name from source package.json: vs-mda
1> ------ Version from source package.json: 0.1.76
1> ------ Current globally installed version: 0.1.76
1> ------ Package already installed globally at correct version.
1>CleanCordovaDeploy:
1> Directory "C:\git\project\myProject\\bld\Debug\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\bin" doesn't exist. Skipping.
1>MDACleanAfterInstall:
1> Deleting file "C:\git\project\myProject\\bld\Android\Debug\changeList.json".
1>PrepareForRippleRequirements:
1> 'C:\Users\<Me>\AppData\Roaming\npm\vs-cli.cmd' is not recognized as an internal or external command,
1> operable program or batch file.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.87
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
`