installation - \npm\node_modules\vs-mda\vs-cli is not recognized as an internal or external command -
installation - \npm\node_modules\vs-mda\vs-cli is not recognized as an internal or external command -
installed hybrid-app ctp. downloaded backbone sample. set build windows phone , emulator 720 p , tried build. 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 : typescript compiler given no files compilation, skip compiling. 1> environment has been set using node.js 0.10.29 (x64) , npm. 1> ------ ensuring right global installation of bundle source bundle 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"' not recognized internal or external command, 1> operable programme or batch file. 1>c:\users\<me>\appdata\roaming\npm\node_modules\vs-mda-targets\microsoft.mda.targets(68,5): error msb3073: 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 code 9009. ========== build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
the vs-cli
not exist in \npm\node_modules\vs-mda
directory. tried repair ctp install no luck.
any other ideas on how installed correctly?
it seems node installation old, or corrupted. seek these steps:
1) remove ctp (this may take while)
2) remove node.js
3) delete users\name\appdata\roaming\npm , users\name\appdata\roaming\npm-cache
4) delete users\appdata.cordova
5) re-install ctp
6) open sample application , build
it re-installs npm @ point , vs-cli.cmd there. in case not have spaces, , did have sdk's installed.
installation npm visual-studio-cordova
Comments
Post a Comment