Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get an ENOTFOUND error every time I save a .json file #17

Open
ryanwalls opened this issue Nov 6, 2015 · 3 comments
Open

Get an ENOTFOUND error every time I save a .json file #17

ryanwalls opened this issue Nov 6, 2015 · 3 comments

Comments

@ryanwalls
Copy link

Steps to reproduce

  1. Open a json file
  2. Save the file

Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: json-schema package, v0.1.15

Stack Trace

Failed to activate the json-schema package

At request to http://schemastore.org/api/json/catalog.json failed, reason: getaddrinfo ENOTFOUND schemastore.org schemastore.org:80

Error: request to http://schemastore.org/api/json/catalog.json failed, reason: getaddrinfo ENOTFOUND schemastore.org schemastore.org:80
    at ClientRequest.<anonymous> (/Users/ryan/.atom/packages/json-schema/node_modules/node-fetch/index.js:117:11)
    at emitOne (events.js:77:13)
    at ClientRequest.emit (events.js:169:7)
    at Socket.socketErrorListener (_http_client.js:259:9)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at connectErrorNT (net.js:978:8)
    at doNTCallback2 (node.js:438:9)
    at process._tickCallback (node.js:352:17)

Commands

     -3:36.6.0 settings-view:open (atom-text-editor.editor.is-focused)
     -3:03.8.0 fuzzy-finder:toggle-file-finder (div.panels)
     -3:02.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -3:02.0 core:save (atom-text-editor.editor.is-focused)
     -2:47.2.0 core:copy (atom-notification.error.icon.icon-flame.native-key-bindings.has-detail.has-close)
     -1:13 settings-view:open (atom-notification.error.icon.icon-flame.native-key-bindings.has-detail.has-close)
  4x -1:05.2.0 core:save (atom-text-editor.editor.is-focused)
  3x -1:03.7.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:06.5.0 settings-view:open (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "open-last-project",
      "atom-terminal-panel"
    ]
  }
}

Installed Packages

# User
.bin, vundefined
atom-typescript, v7.4.1
atom-yeoman, v0.3.15
atomatigit, v1.5.5
copy-filename, v1.0.1
go-plus, v3.5.1
grunt-runner, v0.11.0
json-schema, v0.1.15
language-diff, v0.3.1
last-cursor-position, v0.9.0
linter, v1.8.1
linter-tslint, v0.4.1
omnisharp-atom, v0.25.1

# Dev
No dev packages
@AStoker
Copy link

AStoker commented Apr 11, 2016

Ditto

@Vrakfall
Copy link

I just had this, then I noticed I had mono and mono-addins install (I'm on archlinux) but not mono-tools. I then downloaded it (and mono-debugger aswell) and restarted atom and got no error anymore.

@spencerthayer
Copy link

spencerthayer commented Dec 14, 2016

I'm getting this error as well.

Error: request to http://schemastore.org/api/json/catalog.json failed, reason: getaddrinfo ENOTFOUND schemastore.org schemastore.org:80
Error: request to http://schemastore.org/api/json/catalog.json failed, reason: getaddrinfo ENOTFOUND schemastore.org schemastore.org:80
    at ClientRequest.<anonymous> (/Users/spencerthayer/.atom/packages/json-schema/node_modules/node-fetch/index.js:117:11)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at Socket.socketErrorListener (_http_client.js:308:9)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at connectErrorNT (net.js:1016:8)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants