Travis-Ci unable to run node with --harmony-proxies flag

时间:2016-09-01 19:23:50

标签: travis-ci

How are people getting by with builds that require passing the --harmony-proxies flag? I am testing with Ava which requires I do this, but Travis gives me this response:

to be executed: node_modules/.bin/nyc node --harmony_proxies ./node_modules/.bin/ava 
/home/travis/.nvm/versions/node/v6.5.0/bin/node: bad option: --harmony_proxies

1 个答案:

答案 0 :(得分:0)

好吧,想通了。问题出在Node 6.5上。构建至少可以达到6.3。只需更改我们的Travis配置即可运行较低版本。