Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

failed to install from npm #11

Open
beenotung opened this issue Jun 24, 2022 · 0 comments
Open

failed to install from npm #11

beenotung opened this issue Jun 24, 2022 · 0 comments

Comments

@beenotung
Copy link

beenotung commented Jun 24, 2022

I tried to install with npm as guided on the website:

$ npm i -g @atek-cloud/spork

But I got below error:

npm ERR! code ETARGET
npm ERR! notarget No matching version found for dht-rpc@next.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:

Then I tried to clone this repo then install and build, got typescript error but the dist/bin.js is functional.

$ pnpm i
$ npm link
$ spork
spork - A p2p sockets multi-tool
Commands:
   spork bind [public-key] - Bind a p2p socket as a proxy to a local or remote server.
   spork gateway - Create an HTTP server that routes to p2p sockets by subdomain.
   spork serve {path} - Serve a folder as a static HTTP site over p2p sockets.
   spork beam [passphrase] - Create a encrypted network pipe.

Below is the resolved version when installed locally:

$ pnpm why dht-rpc
Legend: production dependency, optional only, dev only

@atek-cloud/[email protected] /zfs-home/beenotung/workspace/github.com/atek-cloud/spork

dependencies:
@atek-cloud/network 0.0.5
└─┬ @hyperswarm/dht 5.0.0-rc.12
  └── dht-rpc 5.0.0-rc.7
hyperbeam 2.0.1
└─┬ @hyperswarm/dht 5.0.25
  └── dht-rpc 5.0.3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant