码迷,mamicode.com
首页 > Windows程序 > 详细

Windows 环境下 NodeJs 开发 Log

时间:2014-11-03 22:20:59      阅读:523      评论:0      收藏:0      [点我收藏+]

标签:style   http   io   ar   使用   for   sp   on   log   

1, 使用Grunt 进行 Karma 测试任务是出现 

    Please set env variable CHROME_BIN 错误时

 在命令行输入 

SET CHROME_BIN=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

设置临时环境变量或添加 CHROME_BIN 到 系统环境变量中去即可解决.(有一些情况下, 添加系统环境变量后没有立即生效, 重新打开命令行/注销系统重启可以解决.)



引用: http://stackoverflow.com/questions/16017896/setting-environment-variable-for-chrome-bin-does-not-work

http://stackoverflow.com/questions/18924263/how-to-fix-error-please-set-env-variable-chrome-bin-when-running-angular-js-wi

https://github.com/karma-runner/karma/blob/master/docs/config/03-browsers.md#correct-path-to-browser-binary

 

2, .

Windows 环境下 NodeJs 开发 Log

标签:style   http   io   ar   使用   for   sp   on   log   

原文地址:http://www.cnblogs.com/lucker/p/4072194.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!