atom-script: Uncaught TypeError: Cannot read property 'remove' of undefined
C:\Users\Raul\.atom\packages\script\node_modules\atom-message-panel\lib\MessagePanelView.js:189
` TypeError:` Cannot read property 'remove' of undefined
at ScriptView.MessagePanelView.remove (C:\Users\Raul\.atom\packages\script\node_modules\atom-message-panel\lib\MessagePanelView.js:189:30)
at ScriptView.detach (C:\Users\Raul\.atom\packages\atom-beautify\node_modules\jquery\dist\jquery.js:5357:15)
at ScriptView.removePanel (file:///C:/Users/Raul/.atom/packages/script/lib/script-view.js:89:10)
at Object.closeScriptViewAndStopRunner (file:///C:/Users/Raul/.atom/packages/script/lib/script.js:161:21)
at HTMLElement.scriptCloseView (file:///C:/Users/Raul/.atom/packages/script/lib/script.js:94:39)
at CommandRegistry.handleCommandEvent (C:\Users\Raul\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:349392)
at CommandRegistry.dispatch (C:\Users\Raul\AppData\Local\atom\app-1.41.0\resources\app\static\<embedded>:11:347867)
at ScriptView.close (file:///C:/Users/Raul/.atom/packages/script/lib/script-view.js:99:19)
at HTMLDivElement.<anonymous> (C:\Users\Raul\.atom\packages\atom-beautify\node_modules\space-pen\lib\space-pen.js:220:36)
at HTMLDivElement.dispatch (C:\Users\Raul\.atom\packages\atom-beautify\node_modules\jquery\dist\jquery.js:4435:9)
at HTMLDivElement.elemData.handle `(C:\Users\Raul\.atom\packages\atom-beautify\node_modules\jquery\dist\jquery.js:4121:28)`
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 13
- Comments: 18 (2 by maintainers)
It was supposedly fixed, but there’s some conflicting info. Even the author of that PR is saying the issue seems to be in
script
. Also that PR is still open and #1984 is still open.I reverted to the previous version of
script
withapm install script@3.18
Update: I also figured out a way to avoid updating the package by commenting out the repository info. See my post on Super User: How do I prevent Atom from updating a package?
Same issue when pressing ESC