question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

no such file or directory on running ./Scripts/bootstrap.sh -d

See original GitHub issue

The problem

After appium installation i want to run the below 2 commands in this folder /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent

  1. $ mkdir -p Resources/WebDriverAgent.bundle
  2. $ ./Scripts/bootstrap.sh -d

After running command 2 i am recieving this below error in the console zsh: no such file or directory ./Scripts/bootstrap.sh

Environment

  • Appium version (or git revision) that exhibits the issue: 1.15.1
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium: 10.15.1 (mac)
  • Node.js version (unless using Appium.app|exe): 13.2.0
  • Npm or Yarn package manager: 6.13.1
  • Mobile platform/version under test: 13.0
  • Real device or emulator/simulator: Simulator
  • Appium CLI or Appium.app|exe: Installed through command line as well as app file was also installed.

Details

If necessary, describe the problem you have been experiencing in more detail.

Link to Appium logs

Create a GIST which is a paste of your full Appium logs, and link them here. Do NOT paste your full Appium logs here, as it will make this issue very long and hard to read! If you are reporting a bug, always include Appium logs!

Code To Reproduce Issue [ Good To Have ]

Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.

Please git clone https://github.com/appium/appium and from the sample-code directory, use one of your favourite languages and sample apps to reproduce the issue.

In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
luisaangelicagcommented, Aug 27, 2021

For Appium v1.21.0 onward, you don’t need to run:

sh ./Scripts/bootstrap.sh -d Just install Appium and build WebDriverAgent only

2reactions
KazuCocoacommented, Aug 26, 2021

The original issue was old appium. ./Scripts/bootstrap.sh has been removed since appium 1.20. If you followed https://appium.io/docs/en/drivers/ios-xcuitest-real-devices/#full-manual-configuration , please take a look at it again.

(Only for Appium versions below 1.20) Run the next script on the same terminal.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Environment - GitHub
The problem I was able to run the commands 1 & 2 below successfully but was getting this "./Scripts/bootstrap.sh: No such file or...
Read more >
Unable to install WebDriverAgent for iOS devices
Scripts/bootstrap.sh -d. , I get this error message: 'no such file or directory'. Any ideas as to why I am unable to find...
Read more >
Support - Appium Discuss
Run sh ./Scripts/bootstrap.sh -d doesn't work for me :/ ... Scripts/bootstrap.sh " , the response for that command is like, no such file...
Read more >
stat scripts/script.sh: no such file or directory - Stack Overflow
I have just encountered the above error and have processed the following as mount the drive by command: sudo mkdir /c sudo mount...
Read more >
scripts/bootstrap.sh: fails to bootstrap (#13346) - alpine · GitLab
scripts/bootstrap.sh aarch64 with added -F flag to abuild -r results in: ... ERROR: Unable to read database state: No such file or directory ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found