我是新手,正在尝试编写我的第一个超级账本应用程序。
我正在按照https://hyperledger-fabric.readthedocs.io/en/release-1.2/write_first_app.html上的说明进行操作。
在我理解之前,一切似乎都工作正常:
$节点enrollAdmin.js:
/home/mark/fabric-samples/fabcar/node_modules/fabric-client/lib/Client.js:230
getChannel(name,throwError = true){
语法错误:意外令牌=
在exports.runInThisContext(vm.js:53:16)处
在Module._compile(module.js:374:25)
在Object.Module._extensions..js(module.js:417:10)
在Module.load(module.js:344:32)
在Function.Module._load(module.js:301:12)
在Module.require(module.js:354:17)
在要求时(internal / module.js:12:17)
在对象。 (/home/mark/fabric-samples/fabcar/node_modules/fabric-client/index.js:25:18)
在Module._compile(module.js:410:26)
在Object.Module._extensions..js(module.js:417:10)