Atom-script: Uncaught TypeError: Cannot read property 'remove' of undefined

Created on 8 Nov 2019  路  18Comments  路  Source: atom-community/atom-script

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)`

Most helpful comment

Duplicate of #1984

The error there was fixed by a user commit, but as of this moment, it looks like it's happening again...
I'm using atom-python-run and platform-ide-terminal for now...

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 with apm install [email protected]

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?

All 18 comments

The error happened when i tried to press X

same error happens to me, did you find the answer?

Its also happening to me try contacting the developer bout the problem dont forget the details

I am having the same issue when pressing x

Can also confirm this issue happens when pressing 'x'

to me when pressing ESC button

also happened when pressing esc key

happening when I press X

Im having the same problem as well when i try to close the window

same problem when pressing x

Duplicate of #1984

Same issue when pressing ESC

Same issue when pressing ESC and X

ditto, bit i can't complain, its the only editor of its kind that works in linux on a 13 year old laptop.

Duplicate of #1984

The error there was fixed by a user commit, but as of this moment, it looks like it's happening again...
I'm using atom-python-run and platform-ide-terminal for now...

When I press the button X , it occurs.
When I press the button X repeatly , it occurs all over the screen

Duplicate of #1984

The error there was fixed by a user commit, but as of this moment, it looks like it's happening again...
I'm using atom-python-run and platform-ide-terminal for now...

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 with apm install [email protected]

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?

Happens to me when I press cmd + W on mac

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bhishanpdl picture bhishanpdl  路  7Comments

jaredleekatzman picture jaredleekatzman  路  3Comments

seethroughtrees picture seethroughtrees  路  4Comments

JohnnyUrosevic picture JohnnyUrosevic  路  5Comments

ld000 picture ld000  路  6Comments