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

Version 1.03 with Atom 1.19 breaks #9

Closed
ghost opened this issue Aug 9, 2017 · 1 comment
Closed

Version 1.03 with Atom 1.19 breaks #9

ghost opened this issue Aug 9, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 9, 2017

Getting these errors since updating to Atom 1.19 (macOS):

LinterError TypeError: Cannot read property 'join' of undefined
    at Linter.<anonymous> (/Users/chris/.atom/packages/graphql-autocomplete/lib/Linter/index.js:57:46)
    at Generator.next (<anonymous>)
    at step (/Users/chris/.atom/packages/graphql-autocomplete/lib/Linter/index.js:9:273)
    at /Users/chris/.atom/packages/graphql-autocomplete/lib/Linter/index.js:9:443
    at Linter.<anonymous> (/Users/chris/.atom/packages/graphql-autocomplete/lib/Linter/index.js:9:99)
    at promises.push.Promise.then._this2.emitter.emit.number (/Users/chris/.atom/packages/linter/lib/linter-registry.js:101:24)
    at _loop (/Users/chris/.atom/packages/linter/lib/linter-registry.js:99:21)
    at LinterRegistry.<anonymous> (/Users/chris/.atom/packages/linter/lib/linter-registry.js:87:40)
    at Generator.next (<anonymous>)
    at LinterRegistry.<anonymous> (/Users/chris/.atom/packages/linter/lib/linter-registry.js:143:4)
    at Generator.next (<anonymous>)
    at step (/Users/chris/.atom/packages/linter/lib/linter-registry.js:5:273)
    at /Users/chris/.atom/packages/linter/lib/linter-registry.js:5:443
    at LinterRegistry.<anonymous> (/Users/chris/.atom/packages/linter/lib/linter-registry.js:5:99)
    at /Users/chris/.atom/packages/linter/lib/main.js:125:30
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at /Users/chris/.atom/packages/linter/lib/editor-linter.js:32:22
    at later (/Users/chris/.atom/packages/linter/node_modules/sb-debounce/index.js:9:14)
Uncaught (in promise) TypeError: Cannot read property '4' of undefined
    at Snippets.getLine (/Users/chris/.atom/packages/graphql-autocomplete/lib/Snippets/index.js:13:31)
    at Snippets.<anonymous> (/Users/chris/.atom/packages/graphql-autocomplete/lib/Snippets/index.js:17:27)
    at Generator.next (<anonymous>)
    at step (/Users/chris/.atom/packages/graphql-autocomplete/lib/Snippets/index.js:9:273)
    at /Users/chris/.atom/packages/graphql-autocomplete/lib/Snippets/index.js:9:443
    at Snippets.<anonymous> (/Users/chris/.atom/packages/graphql-autocomplete/lib/Snippets/index.js:9:99)
    at /Applications/Atom.app/Contents/Resources/app/node_modules/autocomplete-plus/lib/autocomplete-manager.js:337:60
    at Array.forEach (native)
    at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app/node_modules/autocomplete-plus/lib/autocomplete-manager.js:313:23)
    at AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app/node_modules/autocomplete-plus/lib/autocomplete-manager.js:302:25)
nicolaslopezj added a commit that referenced this issue Aug 9, 2017
@nicolaslopezj
Copy link
Owner

Fixed in 1.0.4

madzhup added a commit to madzhup/atom-graphql-autocomplete that referenced this issue Oct 16, 2017
* source:
  Prepare 1.1.1 release
  Fix non appearing snippets
  Prepare 1.1.0 release
  revert version change
  Automatic including of function parameters
  Prepare 1.0.4 release
  fix bug with new atom version nicolaslopezj#9

# Conflicts:
#	lib/graphql/getSchema.js
#	package.json
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

1 participant