hughsk / atom-node-resolver

Atom plugin to jump to a module's file from its require statement
Other
5 stars 7 forks source link

do not work #12

Open Jackong opened 9 years ago

Jackong commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.5 System: Mac OS X 10.10.4 Thrown From: node-resolver package, v1.0.1

Stack Trace

Failed to activate the node-resolver package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
  at Object.exports.activate (/Users/daisy/.atom/packages/node-resolver/index.js:12:21)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:243:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:836:25
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:222:20)
  at __bind (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-div.module.exports.SelectListView.initialize.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at __bind (/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:524:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:177:20)

Commands

  2x -0:06.9.0 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)
     -0:04.6.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:00.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.8.0 node-resolver:open-selected-dependencies (atom-text-editor.editor)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
node-resolver, v1.0.1
react, v0.12.6
symbol-gen, v1.0.0

# Dev
No dev packages
SebastianMueller87 commented 9 years ago

Got the same on Windows 7. Atom: 1.0.5 node-resolver package v1.0.1

debopamsengupta commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.10 System: Mac OS X 10.10.4 Thrown From: node-resolver package, v1.0.1

Stack Trace

Failed to activate the node-resolver package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.exports.activate (/Users/Dev/.atom/packages/node-resolver/index.js:12:21)
    at Package.module.exports.Package.activateNow (/Users/Dev/Downloads/Atom.app/Contents/Resources/app.asar/src/package.js:243:19)
    at /Users/Dev/Downloads/Atom.app/Contents/Resources/app.asar/src/package.js:836:25
    at Emitter.module.exports.Emitter.emit (/Users/Dev/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Users/Dev/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:226:20)
    at /Users/Dev/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Users/Dev/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Users/Dev/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
    at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Users/Dev/Downloads/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:184:20)

Commands

     -0:00.6.0 node-resolver:open-selected-dependencies (atom-text-editor.editor.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
highlight-selected, v0.10.1
javascript-snippets, v1.0.0
linter, v1.5.0
minimap, v4.13.2
minimap-highlight-selected, v4.3.0
node-resolver, v1.0.1

# Dev
No dev packages
adamreisnz commented 8 years ago

Getting the same issue every time I open a new Atom window. This is using Atom Beta version 1.1.0-beta-1 on Mac OS X.

Clicking on the button Create issue on the node-resolver package doesn't work. Copy pasting the stack trace doesn't work either.

tsvetann commented 8 years ago

same here