node-facenet icon indicating copy to clipboard operation
node-facenet copied to clipboard

Npm install error, permission denied

Open chornos13 opened this issue 6 years ago • 8 comments

Provide Your Network Information

  1. Where is the location of your server? (i.e. City, or In/Out China) Jakarta
  2. Which cloud platform(AliYun/Qcloud/DigitalOcean/etc) are you using? Localhost

Expected behavior

npm install facenet

successfuly installed

Actual behavior

install error

Steps to reproduce the behavior (and fixes, if any)

npm install facenet

Full Output Logs

# PASTE RELATED FULL LOG OUTPUT AT HERE:
npm ERR! Error while executing:
npm ERR! /usr/local/bin/git ls-remote -h -t ssh://[email protected]/zixia/blessed-contrib.git
npm ERR! 
npm ERR! [email protected]: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR! 
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! 
npm ERR! exited with error code: 128

chornos13 avatar Jan 20 '20 03:01 chornos13

This is because my code dependence a repo from my GitHub account before, but I delete that repository so it can not be found anymore.

I will try to figure out how to fix it when I have time, or you can try to replace ssh://[email protected]/zixia/blessed-contrib.git to https://www.npmjs.com/package/blessed-contrib

huan avatar Jan 29 '20 15:01 huan

This is because my code dependence a repo from my GitHub account before, but I delete that repository so it can not be found anymore.

I will try to figure out how to fix it when I have time, or you can try to replace ssh://[email protected]/zixia/blessed-contrib.git to https://www.npmjs.com/package/blessed-contrib

How can i replace that ?

chornos13 avatar Jan 30 '20 14:01 chornos13

i need help too

best-tech avatar Apr 24 '20 21:04 best-tech

I see this is fixed in master but not yet published to npm. There have been no updates pushed to npm since the past two years?!

I got around this problem by installing directly from the repo -

yarn add https://github.com/huan/node-facenet.git

adhityan avatar Sep 09 '20 12:09 adhityan

Hi @adhityan , thanks for letting me know the DevOps pipeline is not working in the past 2 years.

I'll take a look at it later.

huan avatar Oct 04 '20 10:10 huan

@huan Could you please tell me how to install your package via npm? I tried @adhityan solution but its not working thanks

gabdez avatar Dec 16 '20 17:12 gabdez

Now still can't install.
` npm ERR! code 128 npm ERR! command failed npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/zixia/blessed-contrib.git npm ERR! [email protected]: Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: npm ERR! /home/developer/.npm/_logs/2022-03-01T10_45_11_295Z-debug.log`

WirothKaewtue avatar Mar 01 '22 10:03 WirothKaewtue

This project has not been maintained for a long time, it is very hard to be set up for now.

Please consider to use face-api.js

huan avatar Mar 24 '22 04:03 huan