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

Command not found? #688

Closed
luisnomad opened this issue Mar 22, 2016 · 4 comments
Closed

Command not found? #688

luisnomad opened this issue Mar 22, 2016 · 4 comments

Comments

@luisnomad
Copy link

@luisnomad luisnomad commented Mar 22, 2016

  • WebTorrent version: 0.86.1
  • Node.js version: 5.9.0
  • Browser name/version (if using WebTorrent in the browser): N/A

Hi all! I have updated Node.js, and now I can't run webtorrent anymore. I have reinstalled globally but all I get is a "command not found".

I have tried with other packages like jshint, and after installing them following exactly the same procedure, I can run them.

Any idea?

This is what I have:

npm -v

Outputs:
v.3.7.3

npm config list

Outputs:

; cli configs
user-agent = "npm/3.7.3 node/v5.9.0 darwin x64"

; userconfig /Users/luisnomad/.npmrc
bin-links = true
prefix = "/usr/local"

; node bin location = /usr/local/bin/node
; cwd = /Users/luisnomad
; HOME = /Users/luisnomad
; "npm config ls -l" to show all defaults.

And /Users/luisnomad/.npmrc contains:

prefix=/usr/local
bin-links=true

This is my $PATH variable:
/Users/luisnomad/.node/bin:/Users/luisnomad/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

And this is the output of the installation process:

 ✘ luisnomad@Luiss-MacBook-Pro  ~  sudo npm install -g webtorrent
/usr/local/lib
└─┬ webtorrent@0.86.1 
  ├── addr-to-ip-port@1.4.2 
  ├── bitfield@1.1.2 
  ├─┬ bittorrent-dht@7.0.0 
  │ ├── bencode@0.7.0 
  │ ├── buffer-equals@1.0.3 
  │ ├─┬ k-bucket@0.6.0 
  │ │ └── buffer-equal@0.0.1 
  │ ├─┬ k-rpc@3.6.0 
  │ │ └── k-rpc-socket@1.5.0 
  │ └── lru@2.0.0 
  ├─┬ bittorrent-swarm@7.3.0 
  │ ├── bittorrent-protocol@2.1.1 
  │ └─┬ simple-get@2.0.0 
  │   └── unzip-response@1.0.0 
  ├─┬ chunk-store-stream@2.0.2 
  │ └─┬ block-stream2@1.1.0 
  │   └── defined@1.0.0 
  ├── cpus@1.0.0 
  ├─┬ create-torrent@3.24.0 
  │ ├─┬ filestream@4.1.3 
  │ │ └─┬ typedarray-to-buffer@3.1.2 
  │ │   └── is-typedarray@1.0.0 
  │ ├── flatten@1.0.2 
  │ ├── is-file@1.0.0 
  │ ├── junk@1.0.2 
  │ ├── minimist@1.2.0 
  │ ├─┬ once@1.3.3 
  │ │ └── wrappy@1.0.1 
  │ └─┬ piece-length@0.0.0 
  │   └── closest-to@0.0.2 
  ├─┬ debug@2.2.0 
  │ └── ms@0.7.1 
  ├── end-of-stream@1.1.0 
  ├─┬ fs-chunk-store@1.3.5 
  │ ├─┬ cuid@1.3.8 
  │ │ ├── browser-fingerprint@0.0.1 
  │ │ ├── core-js@1.2.6 
  │ │ └── node-fingerprint@0.0.2 
  │ ├─┬ mkdirp@0.5.1 
  │ │ └── minimist@0.0.8 
  │ ├── random-access-file@0.3.2 
  │ ├─┬ rimraf@2.5.2 
  │ │ └─┬ glob@7.0.3 
  │ │   ├── inflight@1.0.4 
  │ │   ├─┬ minimatch@3.0.0 
  │ │   │ └─┬ brace-expansion@1.1.3 
  │ │   │   ├── balanced-match@0.3.0 
  │ │   │   └── concat-map@0.0.1 
  │ │   └── path-is-absolute@1.0.0 
  │ └── thunky@0.1.0 
  ├── hat@0.0.3 
  ├── immediate-chunk-store@1.0.8 
  ├── inherits@2.0.1 
  ├─┬ load-ip-set@1.2.7 
  │ ├─┬ ip-set@1.0.0 
  │ │ └── ip@0.3.3 
  │ └─┬ split@1.0.0 
  │   └── through@2.3.8 
  ├── memory-chunk-store@1.2.0 
  ├── mime@1.3.4 
  ├── multistream@2.0.5 
  ├─┬ package-json-versionify@1.0.2 
  │ └── through2@2.0.1 
  ├─┬ parse-torrent@5.7.3 
  │ ├── blob-to-buffer@1.2.6 
  │ ├── get-stdin@5.0.1 
  │ ├─┬ magnet-uri@5.1.3 
  │ │ └── thirty-two@1.0.1 
  │ └── parse-torrent-file@3.3.4 
  ├─┬ path-exists@2.1.0 
  │ └─┬ pinkie-promise@2.0.0 
  │   └── pinkie@2.0.4 
  ├── prettier-bytes@1.0.3 
  ├── pump@1.0.1 
  ├── random-iterate@1.0.1 
  ├── range-parser@1.0.3 
  ├── re-emitter@1.1.3 
  ├─┬ readable-stream@2.0.6 
  │ ├── core-util-is@1.0.2 
  │ ├── isarray@1.0.0 
  │ ├── process-nextick-args@1.0.6 
  │ ├── string_decoder@0.10.31 
  │ └── util-deprecate@1.0.2 
  ├─┬ render-media@2.4.0 
  │ ├── is-ascii@1.0.0 
  │ ├─┬ mediasource@2.1.2 
  │ │ └── to-arraybuffer@1.0.1 
  │ └─┬ videostream@2.3.0 
  │   ├── binary-search@1.2.0 
  │   ├─┬ mp4-box-encoding@1.1.1 
  │   │ └── uint64be@1.0.1 
  │   ├─┬ mp4-stream@2.0.1 
  │   │ └── next-event@1.0.0 
  │   └── range-slice-stream@1.1.0 
  ├── run-parallel@1.1.5 
  ├── run-parallel-limit@1.0.2 
  ├─┬ simple-peer@6.0.2 
  │ └── get-browser-rtc@1.0.2 
  ├─┬ simple-sha1@2.0.7 
  │ └── rusha@0.8.3 
  ├── speedometer@1.0.0 
  ├── stream-to-blob-url@2.0.0 
  ├── stream-with-known-length-to-buffer@1.0.0 
  ├─┬ torrent-discovery@7.0.0 
  │ └─┬ bittorrent-tracker@7.5.8 
  │   ├── bn.js@4.11.0 
  │   ├── buffer-equal@1.0.0 
  │   ├── ip@1.1.2 
  │   ├── run-series@1.1.4 
  │   ├── simple-websocket@4.0.2 
  │   └─┬ ws@1.0.1 
  │     ├── options@0.0.6 
  │     └── ultron@1.0.2 
  ├── torrent-piece@1.1.0 
  ├── uniq@1.0.1 
  ├── ut_metadata@3.0.4 
  ├─┬ ut_pex@1.0.3 
  │ ├─┬ compact2string@1.4.0 
  │ │ └── ipaddr.js@1.1.0 
  │ └── string2compact@1.2.2 
  ├── xtend@4.0.1 
  └── zero-fill@2.2.3 
@rom1504

This comment has been minimized.

Copy link
Member

@rom1504 rom1504 commented Mar 22, 2016

https://github.com/feross/webtorrent#install

The command line interface is now in https://github.com/feross/webtorrent-cli

You need to npm install webtorrent-cli -g to the get webtorrent cli.

@rom1504 rom1504 closed this Mar 22, 2016
@luisnomad

This comment has been minimized.

Copy link
Author

@luisnomad luisnomad commented Mar 22, 2016

Oh my....! Sorry, I missed that BIG change! My bad.

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Mar 24, 2016

@luisnomad Sorry about the disruption!

@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.