【问题标题】:Installing Appium server on Windows -- how to get past grunt errors?在 Windows 上安装 Appium 服务器——如何解决 grunt 错误?
【发布时间】:2013-05-16 13:14:30
【问题描述】:

我正在使用本指南:

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

在这一步:

grunt configAndroidBootstrap

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

  1. 在节点内运行它。
  2. GitHub\appium\node_modules\.bin\grunt.cmd configAndroidBootstrap

运行\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.

想法?

谢谢。

【问题讨论】:

    标签: node.js gruntjs appium


    【解决方案1】:

    两个选项。

    1.) 为 Windows 安装预构建的 Appium(无需繁琐)(https://bitbucket.org/appium/appium.app/downloads/AppiumForWindows.zip)

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

    【讨论】:

    • 我最终从该链接下载了一个过时版本的 appium。许多浪费时间来找出导致的后续问题。截至今天,最新的 Appium 是 v0.8.0
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-09-26
    • 2017-10-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-01
    相关资源
    最近更新 更多