FAQ
git repo doesn't recognise your local machine, two ways to make it 1) use ssh-keygen to generate key pair and put the public key into server's know_host 2) use https protocol instead of git+ssh

--
rubyonrailsx@gmail.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Monday, July 8, 2013 at 1:33 PM, Maxim Yefremov wrote:

Thanx Luke, really when I do sudo clone "myRepo"
I have the same error. But I cant do npm install without sudo:
npm ERR! Please try running this command again as root/Administrator.
How to check key of my ssh-agent?

On Mon, Jul 8, 2013 at 9:29 AM, Luke Arduini (mailto:luke.arduini@gmail.com)> wrote:
If you really want to do this with sudo then make sure your ssh-agent has the key before doing so, but without is better :)

On Monday, July 8, 2013, Luke Arduini wrote:
It's because you're running with sudo. You should see the same thing if you run your regular clone with sudo.

Your options are to set up your key to work with sudo, or don't use it when cloning/installing (better option).

This isn't an npm bug at all, fwiw.
On Monday, July 8, 2013, Maxim Yefremov wrote:

I try setup git dependencies in package.json:

"dependencies": { "myLib": "git+ssh://git@domain.com (mailto:git@domain.com):user/myLib.git" }

When I do sudo npm install I got errors:

Warning: Permanently added the RSA host key for IP address 'myIp' to the list of known hosts. Permission denied (publickey).

Allthough I can clone successfully the same lib to that machine:


--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com (mailto:nodejs@googlegroups.com)
To unsubscribe from this group, send email to
nodejs+unsubscribe@googlegroups.com (mailto:nodejs%2bunsubscribe@googlegroups.com)
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/jU3d1---Kdw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nodejs+unsubscribe@googlegroups.com (mailto:nodejs%2Bunsubscribe@googlegroups.com).
For more options, visit https://groups.google.com/groups/opt_out.


--
С уважением,
Максим Ефремов

--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com (mailto:nodejs@googlegroups.com)
To unsubscribe from this group, send email to
nodejs+unsubscribe@googlegroups.com (mailto:nodejs+unsubscribe@googlegroups.com)
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscribe@googlegroups.com (mailto:nodejs+unsubscribe@googlegroups.com).
For more options, visit https://groups.google.com/groups/opt_out.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 8 | next ›
Discussion Overview
groupnodejs @
categoriesnodejs
postedJul 8, '13 at 4:23a
activeJul 8, '13 at 7:00a
posts8
users3
websitenodejs.org
irc#node.js

People

Translate

site design / logo © 2022 Grokbase