You are not logged in.
Hello everyone, I'm not used to npm or use it for any purpose either. I've been trying to install
webtorrent. But all I'm getting is this:
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/webtorrent/http-node.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.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-01-01T23_37_44_528Z-debug-0.logPlease help me with this guys.
Last edited by enigmatic_jihad (2022-01-02 00:47:26)
Offline
You ran some command as root and it failed? https://bbs.archlinux.org/viewtopic.php?id=57855
Did you try the AUR packages providing webtorrent and have them all fail before you started building it manually?
Offline
I'm really sorry for that. I've ran
sudo npm install webtorrent -gAnd here is the full log https://pastebin.com/fpgp8uE9
The AUR packages only have webtorrent-desktop. It's doesn't enable the `webtorrent` command, which I'm planning to use in a shell script.
Offline
Try https://aur.archlinux.org/packages/webtorrent-cli/ it creates /usr/bin/webtorrent as a symlink to /usr/lib/webtorrent-cli/bin/cmd.js
Offline
Try https://aur.archlinux.org/packages/webtorrent-cli/ it creates /usr/bin/webtorrent as a symlink to /usr/lib/webtorrent-cli/bin/cmd.js
I didn't know it exist. Thank you very much. I think I should just keep my distance from npm.
Offline