问题描述
安装了Hybrid-App CTP.下载了骨干网样本.将我的构建设置为Windows Phone和Emulator 720 P并尝试构建.我收到此错误:
Installed the Hybrid-App CTP. Downloaded the Backbone sample. Set my build to Windows phone and Emulator 720 P and tried to build. I get this error:
1>------ Build started: Project: BackboneTodo, Configuration: Debug Windows Phone ------
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(90,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling.
1> Your environment has been set up for using Node.js 0.10.29 (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\n4ltjwgz.cbl\packages\vs-mda
1> '"C:\Users\<me>\AppData\Roaming\npm\node_modules\vs-mda\vs-cli"' is not recognized as an internal or external command,
1> operable program or batch file.
1>C:\Users\<me>\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets(68,5): error MSB3073: The command ""C:\Users\<me>\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" build --platform "Windows Phone" --configuration "Debug" --projectDir . --projectName "BackboneTodo" --buildServerUrl "" --buildTarget "PhoneEmulator720P"" exited with code 9009.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
vs-cli
在我的\npm\node_modules\vs-mda
目录中不存在.我试过运气不好的情况下修复CTP安装.
The vs-cli
does not exist in my \npm\node_modules\vs-mda
directory. I tried to repair the CTP install with no luck.
关于如何正确安装此软件的其他想法吗?
Any other ideas on how to get this installed correctly?
推荐答案
我已经解决了删除C:\Users\Miquel\AppData\Roaming\npm\node_modules\vs-mda\node_modules\*.*
和C:\Users\Miquel\AppData\Roaming\npm-cache\*.*
然后在cmd中,我去了C:\Users\Miquel\AppData\Roaming\npm\node_modules\vs-mda
并运行:
Then in cmd I went to C:\Users\Miquel\AppData\Roaming\npm\node_modules\vs-mda
and ran:
npm install
这篇关于\ npm \ node_modules \ vs-mda \ vs-cli无法识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!