码迷,mamicode.com
首页 > Web开发 > 详细

Unexpected identifier in composer-common/lib/cardstore/businessnetworkcardstore.js:54

时间:2018-08-05 15:53:42      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:comm   dex   error   version   int   node.js   ide   ext   led   

c错误描述

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)

  解决方案:

 you do not 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

标签:comm   dex   error   version   int   node.js   ide   ext   led   

原文地址:https://www.cnblogs.com/sddai/p/9425600.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!