2017-06-19 72 views
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文件後卻得到了下面的錯誤:

enter image description here

誰能幫我解決這個問題。

+0

該錯誤告訴您運行logger.js的運行時環境無法識別傳播運算符https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/Spread_operator – jstice4all

回答

相關問題