【发布时间】:2020-05-05 03:05:52
【问题描述】:
我正在尝试运行 IBM 区块链选举系统 Evote。链接=https://github.com/IBM/evote。 当我尝试使用“npm run serve”运行客户端时。我收到以下错误。
ahmed@ahmed-Inspiron-3580:~/evote/web-app/client$ npm run serve
> client@0.1.0 serve /home/ahmed/evote/web-app/client
> vue-cli-service serve
/home/ahmed/evote/web-app/client/node_modules/open/index.js:29
...options
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/ahmed/evote/web-app/client/node_modules/@vue/cli-shared-utils/lib/openBrowser.js:9:14)
【问题讨论】:
-
受影响模块中的代码对于任何提供帮助的人来说都是必不可少的。
标签: npm blockchain hyperledger ibm-blockchain