Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Uncaught TypeError: Cannot read property 'forEach' of undefined #800

Description

@forest1102

[Enter steps to reproduce:]

  1. Press cmd+i to run script

Atom: 1.44.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.2
Thrown From: git-plus package 8.7.1

Stack Trace

Uncaught TypeError: Cannot read property 'forEach' of undefined

At /Users/morita1/.atom/packages/git-plus/node_modules/ansi-to-html/lib/ansi_to_html.js:139

TypeError: Cannot read property 'forEach' of undefined
    at Filter.forEach (/packages/git-plus/node_modules/ansi-to-html/lib/ansi_to_html.js:139:18)
    at Filter.toHtml (/packages/git-plus/node_modules/ansi-to-html/lib/ansi_to_html.js:129:12)
    at ScriptView.display (/packages/script/lib/script-view.js:179:28)
    at ScriptView.setHeaderAndShowExecutionTime (/packages/script/lib/script-view.js:64:12)
    at /packages/script/lib/view-runtime-observer.js:18:17
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1212986)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1214427)
    at Runner.onExit (/packages/script/lib/runner.js:109:18)
    at n (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1124792)
    at e.bufferStream (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1124880)
    at Socket.e.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1123548)
    at Socket.emit (events.js:187:15)
    at Pipe._handle.close (net.js:606:12)

Commands

     -1:11.8.0 script:run (input.hidden-input)
 13x -1:03.3.0 blur (input.hidden-input)
     -0:52.9.0 vim-mode-plus:move-up (input.hidden-input)
  2x -0:52.1.0 vim-mode-plus:move-down (input.hidden-input)
  5x -0:43 vim-mode-plus:move-to-previous-word (input.hidden-input)
     -0:41.7.0 vim-mode-plus:change (input.hidden-input)
     -0:41.4.0 vim-mode-plus:inner-word (input.hidden-input)
     -0:40.3.0 vim-mode-plus:activate-normal-mode (input.hidden-input)
     -0:39.9.0 ex-mode:open (input.hidden-input)
  3x -0:39.9.0 blur (input.hidden-input)
     -0:39.6.0 core:confirm (input.hidden-input)
  3x -0:39.6.0 blur (input.hidden-input)
     -0:36.3.0 script:run (input.hidden-input)
  7x -0:32.3.0 blur (input.hidden-input)
     -0:01.8.0 script:run (div.am-panel.tool-panel.panel-bottom.native-key-bindings.script-view)
     -0:00.1.0 blur (div.am-panel.tool-panel.panel-bottom.native-key-bindings.script-view)

Non-Core Packages

atom-beautify 0.33.4 
atom-html-preview 0.2.6 
atom-material-ui 2.1.3 
atom-pug 0.2.0 
atom-runner 2.7.1 
atom-ternjs 0.20.0 
atom-typescript 13.5.0 
atom-vue 0.6.0 
atom-vuex 0.5.0 
autoclose-html 0.23.0 
autocomplete-clang 0.12.1 
autocomplete-paths 2.12.2 
autocomplete-python 1.16.0 
autocomplete-ruby 0.2.8 
block-and-line-comment 0.4.0 
busy-signal 2.0.1 
emmet 2.4.3 
ex-mode 0.18.0 
file-icons 2.1.39 
git-plus 8.7.1 
highlight-selected 0.17.0 
Hydrogen 2.14.0 
hyperclick 0.1.5 
ide-typescript 0.9.1 
intentions 1.1.5 
language-pug 0.0.22 
language-riot-tag 0.2.2 
language-vue 0.26.0 
language-vue-component 0.5.0 
linter 2.3.1 
linter-clang 4.1.2 
linter-csslint 2.0.6 
linter-flake8 2.4.0 
linter-htmlhint 1.6.3 
linter-jshint 3.1.19 
linter-jsonlint 1.4.0 
linter-python 3.1.2 
linter-tslint 1.10.43 
linter-ui-default 1.8.1 
loved-syntax 1.0.2 
markdown-writer 2.11.9 
minimap 4.29.9 
monokai 0.24.0 
monokai-dark 1.5.0 
open-unsupported-files 1.0.20 
platformio-ide-terminal 2.10.0 
python-debugger 0.2.0 
python-tools 0.6.9 
riot-tag 1.1.1 
script 3.25.0 
sourcemap 0.1.0 
Stylus 3.2.0 
svg-preview 0.14.0 
tablr 1.8.3 
vim-mode-plus 1.36.4 
vue-autocomplete 0.1.1 
vue-snippets 0.6.0 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions