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

Can't run 'npm install github:zoonru/puphpeteer' #9

Open
novakben opened this issue Dec 13, 2023 · 6 comments
Open

Can't run 'npm install github:zoonru/puphpeteer' #9

novakben opened this issue Dec 13, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@novakben
Copy link

For some reason, when running npm install github:zoonru/puphpeteer
from a digitalocean droplet, I get:

npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/zoonru/puphpeteer.git
npm ERR! git@github.com: 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.

Any ideas?

@xtrime-ru
Copy link
Member

Hi! Thanks for patience!

Looks like we need to define https explictly in package.json: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#git-urls-as-dependencies

@xtrime-ru
Copy link
Member

Please try latest commit: f17060c

@xtrime-ru xtrime-ru self-assigned this Jul 10, 2024
@xtrime-ru xtrime-ru added the bug Something isn't working label Jul 10, 2024
@evinkuraga
Copy link

I'm getting the same issue.

npm install github:zoonru/puphpeteer
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/zoonru/puphpeteer.git
npm ERR! ssh: Could not resolve hostname github.com: Temporary failure in name resolution
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/evinkuraga/.npm/_logs/2024-07-23T19_28_18_862Z-debug-0.log

@xtrime-ru
Copy link
Member

Please try

npm install git+https://github.com/zoonru/puphpeteer.git

@dominx99
Copy link

npm install git+https://github.com/zoonru/puphpeteer.git

does not work for me

a482f761b733:/application# npm install git+https://github.com/zoonru/puphpeteer.git
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -2
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-09-20T13_30_40_525Z-debug-0.log

@xtrime-ru
Copy link
Member

xtrime-ru commented Sep 20, 2024

@dominx99 You need to install git.

You can use this link to download tar directly from github without git: npm install https://github.com/zoonru/puphpeteer/tarball/zoon

I will update repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants