标签: node.js meteor npm webtorrent
当我通过webtorrent导入import WebTorrent from 'webtorrent'包并尝试使用var client = new WebTorrent()设置包时,我得
webtorrent
import WebTorrent from 'webtorrent'
var client = new WebTorrent()
tcp-pool.js:22 Uncaught TypeError: net.createServer is not a function
但是,当我使用$.ajax()加载CDN托管版本时,它可以运行。
$.ajax()
CDN
这是clientside。
clientside
答案 0 :(得分:0)
流星问题一直存在。
https://github.com/feross/webtorrent/issues/804 这是描述。