未找到 IPFS 存储库 haadcode/ipfs-pubsub-room.git

问题描述

我正在按照 https://github.com/redacademy/vue-ethereum-ipfs 上的自述说明进行操作 我到了执行 npm install 并获取的地步:

/usr/bin/git ls-remote -h -t ssh://git@github.com/haadcode/ipfs-pubsub-room.git 错误:未找到存储库。 致命:无法从远程存储库读取。

请确保您拥有正确的访问权限 ......

那个存储库似乎不存在,我找到了一个同名的存储库 https://github.com/ipfs-shipyard/ipfs-pubsub-room 。我认为更换会解决这个问题,但我不知道该怎么做。

这个人似乎有同样的问题,也许有一个链接npm installation failure libp2p-websockets

解决方法

那个库是无人维护的,并且已经 2 年没有提交了。

如果您真的想使用该库,最好的开始方法可能是更新 package.json 中的本地包。我相信您可以按照说明 here 完成此操作,这些说明实际上只是:

  1. cd /path/to/vue-ethereum-ipfs
  2. npm update

请注意,由于该库未得到维护,您在前进过程中可能会遇到许多令人困惑或意外的问题。