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

Uncaught TypeError: Cannot read property 'on' of undefined #27

Open
aponski opened this issue May 6, 2015 · 0 comments
Open

Uncaught TypeError: Cannot read property 'on' of undefined #27

aponski opened this issue May 6, 2015 · 0 comments

Comments

@aponski
Copy link

aponski commented May 6, 2015

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.196.0
System: Mac OS X 10.10.3
Thrown From: ide-flow package, v0.6.0

Stack Trace

Uncaught TypeError: Cannot read property 'on' of undefined

At /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:759

TypeError: Cannot read property 'on' of undefined
  at run (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/util-flow-command.coffee:40:26)
  at Object.module.exports.startServer (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/util-flow-command.coffee:59:15)
  at Object.module.exports.check (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/util-flow-command.coffee:68:45)
  at PluginManager.check (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/plugin-manager.coffee:42:21)
  at atom-workspace.<anonymous> (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/ide-flow.coffee:12:24)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:153:19)
  at /Users/arkadiuszponski/.atom/packages/ide-flow/lib/editor-control.coffee:31:23
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:917:20)
  at TextBuffer.module.exports.TextBuffer.save (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:899:19)
  at TextEditor.module.exports.TextEditor.save (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:592:26)
  at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:523:18)
  at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:506:19)
  at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:585:35)
  at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:310:30)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:519:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:178:20)

Commands

  2x -3:11 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
     -2:17.4.0 core:save (atom-text-editor.editor.is-focused)
  2x -2:12.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:51.7.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
     -0:56.7.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
     -0:11.3.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
     -0:08.5.0 core:save (atom-text-editor.editor.is-focused)
     -0:08.4.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)

Config

{
  "core": {
    "disabledPackages": [
      "linter",
      "todo-list",
      "atom-beautify",
      "php-cs-fixer"
    ],
    "themes": [
      "seti-ui",
      "base16-tomorrow-dark-theme"
    ]
  },
  "ide-flow": {}
}

Installed Packages

# User
autocomplete-plus, v2.12.1
emmet, v2.3.8
ide-flow, v0.6.0
lesscompile, v0.5.0
linter-flow, v0.1.4
linter-jsxhint, v0.1.1
react, v0.11.8
seti-ui, v0.7.1
synced-sidebar, v0.2.3

# Dev
No dev packages
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