yongkangchen / remote-sync

Upload your files to remote host after every change. Both SCP/SFTP and FTP are supported.
https://atom.io/packages/remote-sync
MIT License
237 stars 71 forks source link

Uncaught TypeError: Cannot read property 'remove' of undefined #511

Open janmariegalban opened 4 years ago

janmariegalban commented 4 years ago

[Enter steps to reproduce:]

  1. cmd + w (to close tab) - error thrown

Atom: 1.42.0 x64 Electron: 4.2.7 OS: Mac OS X 10.14.6 Thrown From: remote-sync package 4.1.8

Stack Trace

Uncaught TypeError: Cannot read property 'remove' of undefined

At /Users/jangalban/.atom/packages/remote-sync/node_modules/atom-message-panel/lib/MessagePanelView.js:189

TypeError: Cannot read property 'remove' of undefined
    at ScriptView.MessagePanelView.remove (/packages/remote-sync/node_modules/atom-message-panel/lib/MessagePanelView.js:189:30)
    at ScriptView.detach (/packages/atom-minify/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.coreClose (/packages/script/lib/script.js:93:32)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349385)
    at KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1252387)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1248521)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284591)

Commands

     -4:47.1.0 atom-minify:close-panel (input.hidden-input)
     -4:47.1.0 core:cancel (input.hidden-input)
     -1:24.2.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
     -1:23.3.0 core:confirm (input.hidden-input)
     -1:17 core:copy (input.hidden-input)
     -1:15.9.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
     -1:15.8.0 core:paste (input.hidden-input)
     -1:15.3.0 core:confirm (input.hidden-input)
     -1:12.5.0 core:copy (input.hidden-input)
  2x -1:09.9.0 core:close (input.hidden-input)
     -0:22.7.0 core:copy (input.hidden-input)
     -0:21.5.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
     -0:21.4.0 core:paste (input.hidden-input)
     -0:20.9.0 core:confirm (input.hidden-input)
     -0:19.2.0 core:copy (input.hidden-input)
  2x -0:16 core:close (input.hidden-input)

Non-Core Packages

atom-file-icons 0.7.1 
atom-html-preview 0.2.6 
atom-ide-ui 0.13.0 
atom-minify 0.8.0 
autocomplete-python 1.16.0 
bracket-colorizer 1.4.0 
busy-signal 2.0.1 
emmet 2.4.3 
fonts 3.10.0 
ftp-remote-edit 0.18.0 
goto-definition 1.3.4 
ide-python 1.5.0 
ide-typescript 0.9.1 
intentions 1.1.5 
last-cursor-position 0.9.3 
linter 2.3.1 
linter-pyflakes 0.3.2 
linter-ui-default 1.8.1 
minimap 4.29.9 
minimap-autohide 0.10.1 
platformio-ide-terminal 2.10.0 
python-autopep8 0.1.3 
react 0.18.0 
remote-edit-ni 3.6.0 
remote-sync 4.1.8 
script 3.25.0 
sync-settings 4.0.0 
terminal-tab 0.6.0