在Windows上的Android设备中获取插件的流星错误

时间:2016-07-26 11:15:24

标签: android windows meteor

该应用程序在网络浏览器中正常运行,但当我尝试通过Android设备运行时,它会抛出此异常。请帮助 我执行了命令:

  

meteor run --verbose android

我使用的是Windows-64位机器。得到例外情况如下:

% Executing "before_plugin_add"  hook for all plugins. % Calling plugman.fetch on plugin "https://github.com/meteor/cordova-plugin-meteor-webapp.git#7df6a1ffc7211aca43a967893780ce44b4d172d6" % Fetching plugin "https://github.com/meteor/cordova-plugin-meteor-webapp.git" via git clone
=> Errors executing Cordova commands:

   While adding plugin    https://github.com/meteor/cordova-plugin-meteor-webapp.git#7df6a1ffc7211aca43a967893780ce44b4d172d6 to Cordova    project:    Cordova error: Failed to fetch plugin https://github.com/meteor/cordova-plugin-meteor-webapp.git via git.    Either there is a connection problems, or plugin spec is incorrect:    Error: "git" command line tool is not installed: make sure it is accessible on your PATH.    at plugins.clonePluginGit.fail.then.pinfo  (C:\Users\Sanghita\AppData\Local\.meteor\packages\meteor-tool\1.1.13-cordova.5\mt-os.windows.x86_32\dev_bundle\lib\node_modules\cordova-lib\src\plugman\fetch.js:88:33) at _rejected    (C:\Users\Sanghita\AppData\Local\.meteor\packages\meteor-tool\1.1.13-cordova.5\mt-os.windows.x86_32\dev_bundle\lib\node_modules\q\q.js:797:24) at    C:\Users\Sanghita\AppData\Local\.meteor\packages\meteor-tool\1.1.13-cordova.5\mt-os.windows.x86_32\dev_bundle\lib\node_modules\q\q.js:823:30 at Promise.when    (C:\Users\Sanghita\AppData\Local\.meteor\packages\meteor-tool\1.1.13-cordova.5\mt-os.windows.x86_32\dev_bundle\lib\node_modules\q\q.js:1035:31) at Promise.promise.promiseDispatch    (C:\Users\Sanghita\AppData\Local\.meteor\packages\meteor-tool\1.1.13-cordova.5\mt-os.windows.x86_32\dev_bundle\lib\node_modules\q\q.js:741:41) at    C:\Users\Sanghita\AppData\Local\.meteor\packages\meteor-tool\1.1.13-cordova.5\mt-os.windows.x86_32\dev_bundle\lib\node_modules\q\q.js:557:44 at flush    (C:\Users\Sanghita\AppData\Local\.meteor\packages\meteor-tool\1.1.13-cordova.5\mt-os.windows.x86_32\dev_bundle\lib\node_modules\q\q.js:108:17) at process._tickCallback (node.js:448:13)    (If the error message contains suggestions for a fix, note that this may not apply to the Meteor integration.    You can try running again with the --verbose option to help diagnose the issue.)

ExitWithCode:1

1 个答案:

答案 0 :(得分:0)

  

目前,Windows上的Meteor不支持移动版本。如果你   在Windows上使用Meteor,你应该跳过这一步。

您也可以在流星教程中阅读此内容。 链接:Here