Comments (5)
I just pushed a new version. Could you give that a try?
$ npm install webtorrent -g
$ webtorrent
from webtorrent.
Thx for the reply
I first try to uninstall sudo npm uninstall webtorrent and it geives:
npm WARN uninstall not installed in /home/aveesh/webtorrent/node_modules:
"webtorrent"
I then try npm install webtorrent -g
and after downloading it gave me a few errors so I tried it as suo
sudo npm install webtorrent -g
no errors
when i type in webtorrent
/usr/bin/env: node: No such file or directory
I try npm start webtorrent (either in home doir or after cd webtorrent)
also npm_debug has
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/nodejs',
'/usr/bin/npm', 'start', 'webtorrent' ] 2 info using [email protected] 3 info
using [email protected] 4 error Error: ENOENT, open
'/home/aveesh/node_modules/webtorrent/package.json' 5 error If you need
help, you may report this log at: 5 error <
http://github.com/isaacs/npm/issues> 5 error or email it to: 5 error <
[email protected]> 6 error System Linux 3.13.0-24-generic 7 error
command "/usr/bin/nodejs" "/usr/bin/npm" "start" "webtorrent" 8 error cwd
/home/aveesh 9 error node -v v0.10.25 10 error npm -v 1.3.10 11 error path
/home/aveesh/node_modules/webtorrent/package.json 12 error code ENOENT 13
error errno 34 14 verbose exit [ 34, true ]
Sorry if I am bothering you - typing node gives this qhile nodejs gives me
a prompt
The program 'node' can be found in the following packages: * node *
nodejs-legacy
From the Desk of Aveesh Kumar
On Sun, May 18, 2014 at 2:23 PM, Feross Aboukhadijeh <
[email protected]> wrote:
I just pushed a new version. Could you give that a try?
$ npm install webtorrent -g$ webtorrent
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/59#issuecomment-43437362
.
from webtorrent.
It seems you don't have a proper installation of node and/or npm.
I'd recommend reading up on a nodejs tutorial and making sure you're comfortable with the dependencies before delving into webtorrent.
You should then be able to run node --version
and npm --version
to verify they're both installed correctly. Only then should you try installing webtorrent with npm install -g webtorrent
from webtorrent.
I think the issue is that you used apt-get
on Ubuntu 13.10+ to install node and that installs a nodejs
command -- not a node
command. This causes the webtorrent command (and most other node command line programs!) to break because we're using #!/usr/bin/env node
at the top of the file to start node.
The quickest way to solve the problem seems to be to run sudo apt-get install nodejs-legacy
which just installs a node
command.
See: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint-elementary-os for more info.
from webtorrent.
I'm closing this for now since this isn't really a webtorrent issue. But feel free to reply if this doesn't solve your problem and we'll try to help.
from webtorrent.
Related Issues (20)
- support add more tracker api
- Torrent Downloading On Broweser but not streaming HOT 2
- [Vite] Build failed: No matching export HOT 6
- How to use webtorrent to implement distributed caching of static resources in Service Worker, so as to improve the access efficiency of static resources
- High availability of servers HOT 1
- uncaught type error: file appendTo is not a function. HOT 2
- Want to ADD CODE_OF_CONDUCT.md file HOT 3
- import doesn't work from typescript project HOT 1
- Web Socket Connection Fails: Video is loading indefinitely without streaming HOT 2
- Error: write ENOTSUP HOT 1
- Create Navbar for small devices HOT 2
- `add` and `remove` are not async safe HOT 6
- no reasonable clean way to get a timeout on add HOT 1
- Use prettier for easier collaboration HOT 3
- Webtorrent does'nt work for torrents other than the example one. HOT 1
- Prioritize subtitle dowload. HOT 1
- The Docs Need to be UPDATE. HOT 1
- Most urls are broken! HOT 1
- All Torrents stop at exactly 2.8 GB HOT 1
- Webtorrent downloads deselected pieces after re-adding a torrent HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtorrent.