Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upnpm install errors and how to play? #527
Comments
This comment has been minimized.
This comment has been minimized.
|
You don't need to bundle if you are already using the minified standalone file. (You could remove the first line) and use your main.js About the errors, are you using nvm? I can't imagine another reason as to why root couldn't access /root/.node-gyp/4.2.2 |
This comment has been minimized.
This comment has been minimized.
|
I not using nvm and it is necessary? |
This comment has been minimized.
This comment has been minimized.
|
Does the torrent gets logged in the browser? I can download it here: https://btorrent.xyz/#976674fc52bb8e61499e701033a5a4759b5f0d60 You don't need to install WebTorrent's npm package. You can use the webtorrent.min.js index.html
main.js
JSFiddle here: http://jsfiddle.net/zm1kvkno/ |
This comment has been minimized.
This comment has been minimized.
|
If you're using root try adding --unsafe-perm when installing dependencies and chown the node-gyp folder. There's an ancient issue regarding this behaviour nodejs/node-gyp#454 |
This comment has been minimized.
This comment has been minimized.
|
It works only your example |
This comment has been minimized.
This comment has been minimized.
|
Ah, that explains why. This has been answered many times. It's because WebTorrent in the browser cannot connect to TCP/uTP peers. Public torrents are seeded mostly by desktop clients and are not in the webrtc network. Check this: webtorrent/instant.io#93 Is very similar |
This comment has been minimized.
This comment has been minimized.
webtorrent-hybrid dont install. |
This comment has been minimized.
This comment has been minimized.
|
You can't use webtorrent-hybrid in a website. If you are simply trying to stream a torrent to your pc just use You cannot stream public torrents to a website using WebTorrent. |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Debian GNU/Linux 7 (wheezy)
npm - 2.14.7
node - v4.2.2
Next:
main.js
index.html
How to play?