atom-script: Uncaught TypeError: Cannot read property 'remove' of undefined
[Enter steps to reproduce:]
- Press escape.
Atom: 1.41.0 x64 Electron: 4.2.7 OS: Mac OS X 10.14.6 Thrown From: script package 3.25.0
Stack Trace
Uncaught TypeError: Cannot read property ‘remove’ of undefined
At /Users/mjstaw/.atom/packages/script/node_modules/atom-message-panel/lib/MessagePanelView.js:189
TypeError: Cannot read property 'remove' of undefined
at ScriptView.MessagePanelView.remove (/packages/script/node_modules/atom-message-panel/lib/MessagePanelView.js:189:30)
at ScriptView.detach (/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:5357:15)
at ScriptView.removePanel (/packages/script/lib/script-view.js:89:10)
at Object.closeScriptViewAndStopRunner (/packages/script/lib/script.js:161:21)
at HTMLElement.coreCancel (/packages/script/lib/script.js:92:33)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349392)
at KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1252536)
at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1248670)
at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284598)
Commands
-0:20.9.0 editor:consolidate-selections (input.hidden-input)
-0:20.9.0 core:cancel (input.hidden-input)
-0:20.7.0 editor:consolidate-selections (input.hidden-input)
-0:20.7.0 core:cancel (input.hidden-input)
-0:20.6.0 editor:consolidate-selections (input.hidden-input)
-0:20.6.0 core:cancel (input.hidden-input)
-0:20.3.0 editor:consolidate-selections (input.hidden-input)
-0:20.3.0 core:cancel (input.hidden-input)
-0:20.1.0 editor:consolidate-selections (input.hidden-input)
-0:20.1.0 core:cancel (input.hidden-input)
-0:19.9.0 editor:consolidate-selections (input.hidden-input)
-0:19.9.0 core:cancel (input.hidden-input)
-0:19.7.0 editor:consolidate-selections (input.hidden-input)
-0:19.7.0 core:cancel (input.hidden-input)
-0:08.9.0 editor:consolidate-selections (input.hidden-input)
-0:08.9.0 core:cancel (input.hidden-input)
Non-Core Packages
atom-runner 2.7.1
platformio-ide-terminal 2.10.0
script 3.25.0
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 5
- Comments: 34 (1 by maintainers)
Commits related to this issue
- Update MessagePanelView.js — committed to tcarlsen/atom-message-panel by neur0hak 5 years ago
Same here… Atom : 1.42.0 Script : 3.25.0 OS : Win10 Pro
Though, I downgrade the version of Script from 3.25.0 to 3.18.1 now it is working fine. So for a time being this may be a workaround. Thanks to marcelinollano.
Hey everyone, this is a known issue as reported in #2002 and #1997. The PR #2004 should fix this (feel free to try that out). Unfortunately so far none of the maintainers have merged it or made a new release for the package.
@pensierinmusica That’s what I think as well, hence this change in #2004
solved with this fix:
https://github.com/tcarlsen/atom-message-panel/pull/90/commits/529dcb5a97c7cf90f54b2d8c1811d3f97dd3835b