1

当我通过导入webtorrentimport WebTorrent from 'webtorrent'并尝试设置包时,var client = new WebTorrent()我得到

tcp-pool.js:22 Uncaught TypeError: net.createServer is not a function

但是当我$.ajax()用来加载CDN托管版本时,它可以工作。

这两者兼而有之clientside

4

1 回答 1

0

问题出在流星上。

https://github.com/feross/webtorrent/issues/804 这里是描述。

于 2016-05-26T16:20:47.030 回答