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

npm install --save react-native failed #1371

Closed
carlgik4 opened this issue May 22, 2015 · 5 comments
Closed

npm install --save react-native failed #1371

carlgik4 opened this issue May 22, 2015 · 5 comments
Assignees
Labels
Good first issue Interested in collaborating? Take a stab at fixing one of these issues. Resolution: Locked This issue was locked by the bot.

Comments

@carlgik4
Copy link

I followed the instruction to install react-native on my macbook
http://facebook.github.io/react-native/docs/getting-started.html

It seems like to use a ssh command to fetch repository, but my ssh key .ssh/id_rsa is not used for github, so I encounter an error:
screen shot 2015-05-22 at 9 58 51 am

git fetch -a origin (git://github.com/frantic/stacktrace-parser.git)
could you turn this fetch method to https://?
thanks a lot.

@brentvatne
Copy link
Collaborator

@carlgik4 - This wouldn't be related to your ssh config - it seems like your network is blocking the connection. You can try it on another network or create a fork of the project to get it working right away.

cc @frantic

@frantic frantic self-assigned this May 26, 2015
@frantic
Copy link
Contributor

frantic commented May 26, 2015

I'll take a look, thanks for reporting!

@threepointone
Copy link
Contributor

I have a similar problem inside office, and have a workaround (run in terminal) - git config --global url."https://".insteadOf git://

@ide
Copy link
Contributor

ide commented May 28, 2015

Changing the package.json dep URL to frantic/stacktrace-parser#493c5e5638 should do the trick, or at least make this a general problem with npm instead of react.

@ide ide added the Good first issue Interested in collaborating? Take a stab at fixing one of these issues. label May 29, 2015
@brentvatne
Copy link
Collaborator

Good call @ide, made a PR for that. Until then, @threepointone's workaround should fix this for anyone who has the issue!

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Good first issue Interested in collaborating? Take a stab at fixing one of these issues. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants