下面是下面的基板开发中心教程:https://substrate.dev/docs/en/tutorials/start-a-private-network/customspec
我已经成功地执行了命令:./target/release/node-template build-spec --禁用-默认-引导链本地> customSpec.json。
但是,当我尝试使用以下命令解析最后一个文件时:./target/release/node-template build链=customspec.json-raw-禁用-默认引导节点> customSpecRaw.json
我得到了以下错误:错误:输入(“错误解析规范文件:第1列期望值”)
customSpec.json的内容如下:
{
"name": "Local Testnet",
"id": "local_testnet",
"chainType": "Local",
"bootNodes": [],
"telemetryEndpoints": null,
"protocolId": null,
"properties": null,
"consensusEngine": null,
"lightSyncState": null,
"genesis": {
"runtime": {
"frameSystem":
...
...
"palletSudo": {
"key": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
}
}
}
}我正在尝试波尔卡多的“你好世界黑客马拉松”。提前谢谢你。
发布于 2020-11-27 16:12:10
当我使用构建链规范时,我遇到了这个问题。但是我使用了普通的Windows控制台,它运行得很好。
https://stackoverflow.com/questions/64404773
复制相似问题