什么连接谷歌在Ember app的幕后?

时间:2016-10-07 15:35:05

标签: ember.js ember-cli

Ember正在运行,在控制台中,有时会出现此类错误。

{ Error: connect ETIMEDOUT 216.58.221.164:443
    at Object.exports._errnoException (util.js:1036:11)
    at exports._exceptionWithHostPort (util.js:1059:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14)
  code: 'ETIMEDOUT',
  errno: 'ETIMEDOUT',
  syscall: 'connect',
  address: '216.58.221.164',
  port: 443 }

知识产权是谷歌。我在浏览器控制台中检查Web应用程序网络空空如也。我还能做些什么来找出想要连接谷歌的内容。我不使用Material Design,我知道可能使用谷歌字体。

但我确实有ember-bootstrap-4。这是我的packages.json和bower.json的完整列表。请帮忙。

 "devDependencies": {
    "broccoli-asset-rev": "^2.4.2",
    "ember-ajax": "^2.0.1",
    "ember-bootstrap-4": "0.1.2",
    "ember-cli": "2.8.0",
    "ember-cli-app-version": "^1.0.0",
    "ember-cli-babel": "^5.1.6",
    "ember-cli-dependency-checker": "^1.2.0",
    "ember-cli-htmlbars": "^1.0.3",
    "ember-cli-htmlbars-inline-precompile": "^0.3.1",
    "ember-cli-inject-live-reload": "^1.4.0",
    "ember-cli-jshint": "^1.0.0",
    "ember-cli-qunit": "^2.1.0",
    "ember-cli-release": "^0.2.9",
    "ember-cli-sass": "5.5.2",
    "ember-cli-sri": "^2.1.0",
    "ember-cli-test-loader": "^1.1.0",
    "ember-cli-uglify": "^1.2.0",
    "ember-data": "^2.8.0",
    "ember-export-application-global": "^1.0.5",
    "ember-load-initializers": "^0.5.1",
    "ember-resolver": "^2.0.3",
    "loader.js": "^4.0.1"

bower.json

{
  "name": "client",
  "dependencies": {
    "ember": "~2.8.0",
    "ember-cli-shims": "0.1.1",
    "tether": "^1.3.7"
  }
}

1 个答案:

答案 0 :(得分:1)

如果您的计算机处于脱机状态或速度过慢,则可能会出现此错误。 Ember-cli向谷歌分析发送错误消息。所以在disableAnalytics配置文件中将此集.ember-cli设置为true。默认情况下,这将是错误的。