0
我正在尝试使用eclipse来执行量角器文件。我也做了下面的步骤:配置eclipse量角器时出现“Unexpected token”错误
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文件后却得到了下面的错误:
谁能帮我解决这个问题。
该错误告诉您运行logger.js的运行时环境无法识别传播运算符https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/Spread_operator – jstice4all