• 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

Please log in or register to answer this question.

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 1.4K 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 528 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, 2020 Martin K 6.6k points
1 vote
1 answer 427 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, 2020 morrisBson 3.2k points
0 votes
1 answer 1.7K 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 685 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
0 votes
2 answers 515 views
Problem : I want to to run my NodeJS version with the nvm but getting following error: $ nvm use v4.2.4 nvm is not compatible with the npm config "prefix" option: currently set to "/Users/z/.npm-global"Run `npm config delete prefix` or `nvm use --delete- ... it. I have set the prefix on purpose to avoid the sudo npm How can I use nvm without losing the prefix for my globally installed packages?
asked Nov 29, 2019 alecxe 7.5k points
0 votes
0 answers 31 views
may mail.php code <?php return [     /*     |--------------------------------------------------------------------------     | Default Mailer     |------------------------ ... ; .env file MAIL_DRIVER=mail MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME=*Emails are not allowed* MAIL_PASSWORD=&rdquo;&rdquo;&rdquo;&rdquo;&rdquo;&rdquo;&rdquo;&rdquo;&rdquo;&rdquo;&rdquo;&rdquo; MAIL_ENCRYPTION=ssl
asked Sep 18, 2020 warui kinyuru
0 votes
1 answer 19 views
Problem: I am very new to cordova, phonegap, ant,sdk,jdk. I am learning to use phonegap/cordova. Everything is installed properly on my machine i.e cordova, phonegap, ant,sdk,jdk. But now suddenly it started saying that: "&rsquo;Node' is not recognized as an ... insufficient knowledge I am unable to fix this issue. I am looking for cordova and phonegap experts who can help me in fixing this issue.
asked Sep 2, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 61 views
Problem: I am very desperately trying to install the modules using node.js but it always fails while getting the packages with npm. I was logged in as Administrator and then used powershell/cmd with a "run as administrator". I also had problems with a registry so I ... error: Npm ERR! Please try running this command again as root/Administrator. Can someone help me in fixing my above NPM error.
asked Aug 31, 2020 Raphael Pacheco 4.9k points