C Error description
Unexpected identifier in composer-common/lib/cardstore/businessnetworkcardstore.js:54
Yo hyperledger-composer:businessnetwork/home/xuzheng/.nvm/versions/node/v6.6.0/lib/node_modules/ generator-hyperledger-composer/node_modules/composer-common/lib/cardstore/businessnetworkcardstore.js:54 Async Get (Cardname) { ^^ ^syntaxerror:unexpected identifier at Object.exports.runInThisContext (vm.js:76:16) At Module._compile (module.js:528:28) at object.module._extensions.. JS (module.js:565:10) at module.load (module.js:473:32) at trymoduleload (module.js:432:12) at Function.module._load (Module.js:424:3) at Module.require (module.js:483:17) at require (internal/module.js : 20:19) at object.<anonymous> (/home/xuzheng/.nvm/versions/node/v6.6.0/lib/node_modules/ generator-hyperledger-composer/node_modules/composer-common/index.js:56:43) at Module._compile (module.js : 556:32)
Solution:
You don't have node. js 8 installed; Composer has required node. JS 8 since before v0.16.x. Please upgrade your version of node. js to 8.x.
Unexpected identifier in composer-common/lib/cardstore/businessnetworkcardstore.js:54