【发布时间】:2014-07-30 09:26:16
【问题描述】:
我正在尝试设置 Karma 以在 Opera 上运行测试,但它给了我这个错误:
ERROR[launcher]: Cannot start Opera
Can not find the binary C:\Program Files\Opera\opera.exe
Please set the env variable OPERA_BIN
我对设置环境变量一无所知,所以我做了一些研究并在 cmd 中尝试了这些但无济于事:
C:\>set OPERA_BIN = C:\Program Files (x86)\Opera\launcher.exe
...什么都没有发生..
C:\>setx OPERA_BIN = "C:\Program Files (x86)\Opera\launcher.exe
ERROR: Invalid syntax. Default option is not allowed more than '2' time(s)
任何建议将不胜感激。谢谢。
【问题讨论】:
标签: cmd environment-variables opera karma-runner