/closure-library/closure/goog/streams/full_test_cases.js:635: ERROR - Parse error. '(' expected

搞电池优化  用Doker 安装  Battery Historian 失败,只好用Go 手动安装 Battery Historian 参考博客https://www.jianshu.com/p/0fa57924f228

 

走到

3.运行Battery Historian

1) go run setup.go 这一步

报了

github.com/google/battery-historian/third_party/closure-library/closure/goog/streams/full_test_cases.js:635: ERROR - Parse error. '(' expected

但是看了源码,一点问题也没有,上了github 发现人家和我一样遇到这个问题

/closure-library/closure/goog/streams/full_test_cases.js:635: ERROR - Parse error. '(' expected_第1张图片

 

本来以为解决无望,后来看了下博客的时间,我灵机一动

我去下载了他们2017以前的版本,下载地址:https://github.com/google/closure-library/releases/tag/v20161201

然后,问题就这么解决了~

你可能感兴趣的:(bug)