当我通过import WebTorrent from 'webtorrent'导入webtorrent包并尝试使用var client = new WebTorrent()设置该包时,我得到
tcp-pool.js:22 Uncaught TypeError: net.createServer is not a function但是,当我使用$.ajax()加载CDN托管版本时,它可以工作。
这两个都是clientside。
发布于 2016-05-27 00:20:47
问题出在meteor上。
https://stackoverflow.com/questions/37261180
复制相似问题