我收到此错误: 当我尝试启动 ipfs-coord 时,InvalidValueError: The ipfs-repo-migrations package 没有在 verifyAvailableMigrations 从版本 10 迁移到 11 的所有迁移。请问有人知道我应该怎么做吗?提前致谢
这是我的代码
const IPFS = require('ipfs')
const BCHJS = require('@psf/bch-js')
const IpfsCoord = require('ipfs-coord')
async function start() {
// Create an instance of bch-js and IPFS.
const bchjs = new BCHJS()
const ipfs = await IPFS.create()
// Pass bch-js and IPFS to ipfs-coord when instantiating it.
const ipfsCoord = new IpfsCoord({
ipfs,
bchjs,
type: 'node.js'
})
await ipfsCoord.start()
console.log('IPFS and the coordination library is ready.')
}
start()
这是我的 package.json
{
"name": "ipfs-coord-chat-app",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "nodemon app.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@psf/bch-js": "^4.20.26",
"ipfs": "^0.55.4",
"ipfs-coord": "^6.7.3",
"nodemon": "^2.0.15"
}
}