question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot read property '0' of undefined

See original GitHub issue

Could someone please help me with the following error? Thanks in advance!

[Enter steps to reproduce:]

Atom: 1.31.0 x64 Electron: 2.0.7 OS: Microsoft Windows 10 Education Thrown From: ink package 0.9.8

Stack Trace

Uncaught TypeError: Cannot read property ‘0’ of undefined

At C:\Users\nhavt\.atom\packages\ink\node_modules\xterm\lib\Linkifier.js:140

TypeError: Cannot read property '0' of undefined
    at Linkifier._doLinkifyRow (/packages/ink/node_modules/xterm/lib/Linkifier.js:140:24)
    at Linkifier._linkifyRow (/packages/ink/node_modules/xterm/lib/Linkifier.js:126:18)
    at Linkifier._linkifyRows (/packages/ink/node_modules/xterm/lib/Linkifier.js:54:18)
    at /packages/ink/node_modules/xterm/lib/Linkifier.js:49:69

Commands

     -3:03.3.0 core:confirm (textarea.xterm-helper-textarea)
     -2:18.3.0 julia-client:open-a-repl (input.hidden-input)
  2x -1:33.4.0 julia-client:run-file (button.btn.icon.enablement.icon-playback-play)

Non-Core Packages

atom-beautify 0.33.2 
atom-material-ui 2.1.3 
autocomplete-paths 2.12.2 
autocomplete-python 1.10.12 
busy-signal 1.4.3 
document-outline 2.1.2 
expose 0.15.0 
file-icons 2.1.25 
git-blame 1.7.0 
git-plus 8.1.0 
git-time-machine 2.1.0 
goto-definition 1.3.4 
highlight-selected 0.14.0 
ide-python 1.0.0 
indent-detective 0.3.0 
ink 0.9.8 
intentions 1.1.5 
julia-client 0.7.7 
language-julia 0.17.0 
latex-completions 0.3.5 
linter 2.2.0 
linter-ui-default 1.7.1 
minimap 4.29.9 
minimap-highlight-selected 4.6.1 
open-recent 5.0.0 
pane-layout-plus 0.7.4 
project-manager 3.3.6 
split-diff 1.5.2 
symbols-tree-view 0.14.0 
todo-show 2.3.2 
tool-bar 1.1.10 
uber-juno 0.2.0 

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dlfivefiftycommented, Sep 28, 2018

Is there anyway to turn off the uncaught exception messages? It makes it unusable.

0reactions
pfitzsebcommented, Sep 28, 2018

Alright, I’ve reverted back to a xterm.js version that doesn’t show this bug, so please update to ink 0.9.10.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix Cannot read Property '0' of Undefined in JS
The Solution · Ensure you are using the correct variable · Perform a simple check on your variable before using it to make...
Read more >
TypeError: Cannot read Property '0' of Undefined in JS
The "Cannot read property '0' of undefined" error occurs when trying to access the 0th index in a variable that stores an undefined...
Read more >
Fix: Cannot Read Property '0' of Undefined - Coding Beauty
The “cannot read property '0' of undefined” error occurs when you try to access the 0 index of an array-like variable, but the...
Read more >
How to Prevent the Error: Cannot Read Property '0' of Undefined
If a property of an object is an array, it's possible to accidentally misspell the key or try to access the array through...
Read more >
Javascript Uncaught TypeError: Cannot read property '0' of ...
which means that, when you try to access d[ascii] , you are actually trying to access undefined[0] , hence the error.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found