Closed ghost closed 9 years ago
I've tried to debug (NodeJS Againts Humanity)[https://github.com/amirrajan/nodejs-against-humanity]
Atom Version: 0.186.0 System: Microsoft Windows 7 Professional Thrown From: node-debugger package, v0.2.3
Uncaught TypeError: Cannot read property 'getPath' of undefined
At C:\Users\Peter\.atom\packages\node-debugger\lib\config-view.coffee:47
TypeError: Cannot read property 'getPath' of undefined
at ConfigView.module.exports.ConfigView.autoFill (C:\Users\Peter\.atom\packages\node-debugger\lib\config-view.coffee:47:71)
at HTMLButtonElement.<anonymous> (C:\Users\Peter\AppData\Local\atom\app-0.186.0\resources\app\node_modules\space-pen\lib\space-pen.js:181:36)
at HTMLButtonElement.handler (C:\Users\Peter\AppData\Local\atom\app-0.186.0\resources\app\src\space-pen-extensions.js:112:34)
at HTMLButtonElement.jQuery.event.dispatch (C:\Users\Peter\AppData\Local\atom\app-0.186.0\resources\app\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLButtonElement.elemData.handle (C:\Users\Peter\AppData\Local\atom\app-0.186.0\resources\app\node_modules\space-pen\vendor\jquery.js:4359:46)
-0:55.5 command-palette:toggle (atom-pane.pane.active)
-0:54.2 core:confirm (atom-text-editor.editor.mini)
-0:53.9 node-debugger:toggle (atom-pane.pane.active)
{
"core": {
"disabledPackages": [
"linter-phpcs",
"turbo-javascript",
"jslint",
"preview-plus",
"linter-jshint",
"jshint",
"command-toolbar",
"autocomplete"
]
}
}
# User
angularjs, v0.2.0
atom-grunt-configs, v0.1.0
atom-jshint, v1.5.0
coffee-compile, v0.11.0
grunt-runner, v0.7.0
js-refactor, v0.3.0
jsformat, v0.7.18
keybinding-cheatsheet, v0.0.8
linter, v0.12.0
linter-lsc, v1.1.2
linter-php, v0.0.11
linter-phpmd, v0.0.10
node-debugger, v0.2.3
notebook, v0.4.0
php-server, vundefined
phpunit, v1.0.9
phpunit-snippets, v0.1.0
refactor, v0.4.1
script, v2.18.0
script-runner, v1.7.1
# Dev
No dev packages
+1
Why this is closed? I experienced it too in current version in Atom in a nodejs project ... I expereinced it while trying to debug a remote nodejs process ... maybe the problem is that the "temporary file" which is opened and do not really exists is not reachable via "atom.workspace.getActiveTextEditor()"? But a solution would be really great!
I searched around a bit and the main reason seems to be that an TexEditor instance from Type NonEditableEditorView is not really a TextEditor, so tghere is no ActiveTextEditor.
But I was not really able to find the instance of that current opened "NonEditableEditor" thing ...
Maybe these infos help to find the reason. WOuld be great if you could repopen this issue!
[Enter steps to reproduce below:]
Atom Version: 0.179.0 System: Mac OS X 10.10.2 Thrown From: node-debugger package, v0.2.3
Stack Trace
Uncaught TypeError: Cannot read property 'getPath' of undefined
Commands
Config
Installed Packages