2015-01-15 23 views
0

我使用这个命令由browsersync /节点的服务器来运行:browsersync不能运行服务器

browser-sync start --server --files "**/*.html, **/*.js, **/*.css" --port 8005 

结果我得到的是(我无法找到任何地方在线):

[BS] Local URL: http://localhost:false 
[BS] External URL: http://10.26.104.175:false 
[BS] Serving files from: ./ 
[BS] Watching files... 

我不知道从哪里开始诊断此问题。有没有人有任何建议?

浏览器同步1.9.0 节点版本v0.10.35 OS X约塞米蒂10.10.1

回答

0
在浏览器的同步内依赖性端口扫描工具加/端口扫描工具

破碎的依赖性 将使用版本0.2.2〜(目前0.2.3这是不兼容的)

Unistalling 0.2.3并重新安装[email protected]特定版本修复了问题。从浏览器同步/ node_modules/portscanner-plus /目录运行命令:

npm uninstall portscanner 
npm install [email protected]