Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 获得;意外标记“;配置eclipse量角器时出错_Javascript_Angularjs_Node.js_Eclipse_Protractor - Fatal编程技术网

Javascript 获得;意外标记“;配置eclipse量角器时出错

Javascript 获得;意外标记“;配置eclipse量角器时出错,javascript,angularjs,node.js,eclipse,protractor,Javascript,Angularjs,Node.js,Eclipse,Protractor,我正在尝试使用eclipse执行我的量角器文件。我已完成以下步骤: 1, From Eclipse marketplace installed "AngularJS Eclipse1.2.0 & Tern Eclipse IDE1.2.0" 2, Created new "Java script" project 3, converted created project into "Tern Project" 4, Placed the protractor spec.js &a

我正在尝试使用eclipse执行我的量角器文件。我已完成以下步骤:

 1, From Eclipse marketplace installed "AngularJS Eclipse1.2.0 & Tern Eclipse IDE1.2.0"
 2, Created new "Java script" project
 3, converted created project into "Tern Project"
 4, Placed the protractor spec.js & conf.js
 5, installed protractor locally. I can able to see the mode_modules
 6, Launched Run Config and set the "config_file", "working directory", "protractor cli.js"
完成上述配置后,我尝试执行conf.js文件,但出现以下错误:


有人能帮我解决这个问题吗。

您在
info(…msgs)
中得到的错误是使用称为Spread operator的ES6语法。您可以通过此链接了解更多信息。
可能是您的npm版本低于您正在运行的版本。升级到最新版本可能会解决此问题。

此错误告诉您运行logger.js的运行时环境无法识别扩展运算符