“Cannot start Chrome” error with Yeoman

后端 未结 4 588
被撕碎了的回忆
被撕碎了的回忆 2021-01-03 09:03

I\'m trying to start using Yeoman (it seems awesome indeed) and having an error trying to run the grunt test command.

Running \"karma:unit\" (ka         


        
4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-03 09:25

    It's fairly clear from the error message that it can't find google-chrome, which is set as the browser in your Karma config. You either need to change this to another browser or manually set the path to the Chrome binary using the CHROME_BIN environment variable.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题