在Windows上安装Appium服务器 - 如何解决grunt错误?

时间:2013-05-21 17:05:44

标签: node.js gruntjs appium

我正在使用本指南:

https://github.com/appium/appium/blob/master/docs/running-on-windows.md

在这一步:

grunt configAndroidBootstrap

我无法让它运行。我试过了:

  1. 在节点内运行。
  2. GitHub\appium\node_modules\.bin\grunt.cmd configAndroidBootstrap
  3. 单独运行\appium\node_modules\.bin\grunt.cmd有效,它至少可以做一些事情。但是,当我添加configAndroid ..部分时,它确实:

    Running "configAndroidBootstrap" task
    The system cannot find the path specified.
    Warning: Task "configAndroidBootstrap" failed. Use --force to continue.
    
    Aborted due to warnings.
    

    想法?

    感谢。

1 个答案:

答案 0 :(得分:2)

两个选项。

1。)安装预构建的Appium for Windows(无需咕噜声)(https://bitbucket.org/appium/appium.app/downloads/AppiumForWindows.zip

2.。)运行reset.bat而不是grunt命令。我已经更新了您提到的文档。