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

Attempt to update hangs #13

Open
firthmj opened this issue Aug 9, 2022 · 3 comments
Open

Attempt to update hangs #13

firthmj opened this issue Aug 9, 2022 · 3 comments

Comments

@firthmj
Copy link

firthmj commented Aug 9, 2022

I'm attempting to update a system that has had a previous version of sdpoker installed to the latest, and the recommended command:

sudo npm install -g AMWA-TV/sdpoker

just hangs with

[..................] / rollbackFailedOptional: verb npm-session 89a985adcaa160e1

The hash at the end changes each time, but nothing else ever happens, even if left for many minutes.

Is there something obvious that is likely to be causing this?

@peterbrightwell
Copy link

I had a similar problem a few days ago and iirc sudo -E fixed it (passes environment). Can't reproduce it now though as think npm version has changed.

@firthmj
Copy link
Author

firthmj commented Aug 9, 2022

It looks like it may be some problem with npm interacting with the git repository - I ran sudo npm install -g . in a local check out, and that seems to have worked.

@jonathan-r-thorpe
Copy link
Contributor

jonathan-r-thorpe commented Aug 10, 2022

Possibly related, but fresh install on Ubuntu 20.04 using sudo npm install -g AMWA-TV/sdpoker resulted in the following fail:

> npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/AMWA-TV/sdpoker.git
> npm ERR! [email protected]: Permission denied (publickey).
> npm ERR! fatal: Could not read from remote repository.

However, @peterbrightwell's suggestion of using sudo -E to pass the environment fixed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants