When I enter the following code into my terminal on my macOS:
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
mkdir -p Resources/WebDriverAgent.bundle
sh ./Scripts/bootstrap.sh -d
, I get this error message: ‘no such file or directory’
Any ideas as to why I am unable to find the file or directory?
Appium version:1.20.2
I enter the following code into terminal on macOS Big Sur:
cd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent
mkdir -p Resources/WebDriverAgent.bundle
sh ./Scripts/bootstrap.sh -d
get this error message:sh: ./Scripts/bootstrap.sh: No such file or directory
I checked /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent//Scripts/,there is no a file named bootstrap.sh
appreciate any help
Hi , could you please describe a particular steps ?
I have open the bootstrap.sh script from https://github.com/facebookarchive/WebDriverAgent
and copy all of content and then I create a empty bootstrap.sh script in directory /Script/ and then paste the script into the bootstrap.sh and then run sh ./Scripts/bootstrap.sh -d but i get
: command not found.sh: line 10:
: invalid optionrap.sh: line 11: set: -
set: usage: set [–abefhkmnptuvxBCHP] [-o option] [arg …]
Hi,
the solution is to copy bootstrap.sh from git project to your local directory /Script/ but then I get a message *** No Cartfile.resolved found, updating dependencies", so do it also for Cartfile.resolved and Cartfile from WebDriverAgent and then run sh ./Scripts/bootstrap.sh.
Failed to run the installation step: “Building WebDriverAgentLib…”.
Cannot run program “/bin/zsh” (in directory “/opt/homebrew/lib/node_modules/appium/node_modules/appium-webdriveragent”): error=2, No such file or directory