从eclipse运行Protractor时的SyntaxError

时间:2017-04-05 12:44:18

标签: protractor

我正在尝试从日食中运行我的量角器测试并将其抛出以下错误:

C:\ProtractorWorkspace\TestProtractor\node_modules\protractor\built\logger.js:75
    info(...msgs) {
         ^^^
    SyntaxError: Unexpected token ...
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:414:25)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (C:\ProtractorWorkspace\TestProtractor\node_modules\protractor\built\configParser.js:5:18)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)

我使用的版本是:

Node6.10.1
Protractor5.1.1

NPM3.10.10

0 个答案:

没有答案