Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native.sh problem #4

Open
AlekKras opened this issue Jun 4, 2018 · 2 comments
Open

react-native.sh problem #4

AlekKras opened this issue Jun 4, 2018 · 2 comments

Comments

@AlekKras
Copy link

AlekKras commented Jun 4, 2018

I am not sure why but I had an issue running react-native.sh problem . However, once I looked closely at the file, I ran docker run --rm -it react-native bash which helped me. There are couple things which I would have put in the Dockerfile, but that's because of the Environment I work in. Just posting it here if the author decided to put a suggestion for future users.

@bmabir17
Copy link

did you cloned this git repo on a seperate location other then in your home directory? i also did that and face same problem of yours. But the actual solution is to change the .bashrc command to
export PATH="$HOME/YOUR/CLONED/REPO/PATH/docker-react-native:$PATH"

@natesire
Copy link

I ran the react-native.sh script from within the directory. However, it is looking for a shared mount volume

nathans-MacBook:docker-react-native nathansire$ sh react-native.sh init MyAwesomeProjet
docker: Error response from daemon: Mounts denied:
The path /dev/bus/usb
is not shared from OS X and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.
.
ERRO[0000] error waiting for container: context canceled
nathans-MacBook:docker-react-native nathansire$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants