gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-03 23:44:16 26 4
gpt4 key购买 nike

我正在使用本指南:

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

在这一步:

grunt configAndroidBootstrap

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

  1. 在 Node 内运行它。
  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.

想法?

谢谢。

最佳答案

两个选项。

1.) 安装适用于 Windows 的预构建 Appium(无需 grunting)( https://bitbucket.org/appium/appium.app/downloads/AppiumForWindows.zip )

2.) 运行reset.bat 而不是grunt 命令。我已经更新了您引用的文档以提及这一点。

关于node.js - 在 Windows 上安装 Appium 服务器——如何解决 grunt 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16675620/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com