使用IPFS核心在浏览器中使用ReactJ设置节点
我正在尝试为前端用户设置本地IPFS节点。我遇到了“ ipfs-core”模块: https://www.npmjs .com/package/ipfs-core?activetab = readme
尝试实例化IPFS节点时,我无法解决“ IPFS核心”错误。然后,我尝试使用“ IPFS核核心”,但似乎没有任何作用:
import * as IPFS from 'ipfs-core';
function App({}){
const ipfs = IPFS.create();
结果:
Module not found: Can't resolve 'ipfs-core' in 'D:...
我也尝试了必要的。我尝试了0.4.1版(最新)和0.4.1版本。 感谢任何帮助。
I'm trying to set up a local ipfs node for frontend users. I came across the "ipfs-core" module: https://www.npmjs.com/package/ipfs-core?activeTab=readme
When trying to instantiate the ipfs node I get the error "ipfs-core" can't be resolved. I then tried it with "ipfs-core-utils", but nothing seemed to work:
import * as IPFS from 'ipfs-core';
function App({}){
const ipfs = IPFS.create();
results in:
Module not found: Can't resolve 'ipfs-core' in 'D:...
I also tried with required. I tried version 0.4.1 (latest) and 0.4.1.
I appreciate any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论