• Register
0 votes

Problem :

I am currently trying to use

sudo npm install

to install all of my dependencies for the application written in the nodejs. My OS is Ubuntu 13.04

But, I keep getting below warning:

The authenticity of host 'github.com (' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:1d:52:13:1a:21:2d:bz:1d:66:a8.
Are you sure you want to continue connecting (yes/no)?

Has anyone encountered above warning before? Is it really possible to authenticate and store a fingerprint locally? So that I will not need to authenticate again when I enter a sudo npm install next time.

Currently, I am unable to enter anything, not even a "yes". My terminal just got stuck,I have to press the ctrl+c to terminate.

7 5 2
3,870 points

1 Answer

0 votes

Solution :

To proceed safely :

1 is use the https url instead of ssh.

2 is have the ssh access work.

To have the ssh access work :

Do the ssh -T git@github.com but don't just type a  "yes". Check if your hash that is shown matches one of a hashed shown in https://help.github.com/articles/what-are-github-s-ssh-key-fingerprints/ in your case it does, and just see, the page is fetched through https for a same public key infrastructure reasons.

If your hash matches, then connection is indeed very safe and you can answer "yes" to ssh's question.

9 7 4
38,600 points

Related questions

0 votes
1 answer 981 views
Problem : I am new to NodeJS and trying to connect to mySQL through the NodeJS file, however I am facing the below error : { Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password: YES) at Handshake.Sequence._packetToError (/home/alecxe/Node ... bar" AS second_field', function(err, results, fields) { console.log(err); console.log(results); myconnection.end(); } );
asked Dec 6, 2019 alecxe 7.5k points
1 vote
1 answer 255 views
Problem: I am very new to node so I think I am making something extremely wrong here as I am unable to find any info at all by doing research online. I already have the django site and I required the JS charting library so I chose the chart.js. I have ... build a chart. Failed to create chart: can't acquire context from the given item . Please help me in fixing above NodeJs elated error.
asked Jun 4 Martin K 6.6k points
1 vote
1 answer 277 views
Problem : I am naïve to Webpack. As the Webpack does not support the native webworker syntax so currently I want to use a worker-loader npm module but because of some unknown reason t I am facing the below weird error. Cannot assign to read only property 'exports ... but still unable to understand the root cause of above error. Now I am in badly need of the expert advice to fix above error.
asked Apr 9 morrisBson 3.2k points
0 votes
1 answer 1.1K views
Problem : When I try to open the terminal and enter the following command: sudo mongod The output is received as below: [initandlisten] waiting for connections on port 27017 When I try to open another terminal and enter following command: sudo mongo I will open the mongo ... never posts the data. So I think my problem lies within mongo but I am unable to figure it out. POST /info 200 120002ms
asked Dec 12, 2019 alecxe 7.5k points
1 vote
2 answers 414 views
Problem : I am very new to the Node.js and I am having few issues. I am using the Node.js 4.10 and Express 2.4.3. While trying to execute my code I am receiving below error : Error: Can't render headers after they are sent to the client. ... , scope: 'offline_access,email,user_about_me,user_activities,manage_pages,publish_stream', failedUri: '/noauth' }) ])); realapp.use(realapp.router); }); . . .
asked Dec 12, 2019 alecxe 7.5k points