VSCode and Jupyter: TypeError: Cannot read property 'charAt' of undefined

I used to use Jupyter Notebooks for Python. I was excited to hear that Jupyter extension supports Julia.

However I cannot create more than one code cell, and I get this message. Has anyone run into that? Is there a work around?
Thanks all!

1 Like

Hmm. Maybe post an issue on the vscode jupyter extension repo?

1 Like

Experiencing the same problem … I’ll report later on the vscode jupyter extension repo

2 Likes

Hi,

Any update on this issue?

1 Like

I found a fix to this problem. Apparently it is a known issue with many languages using jupyter notebooks. I had to install VSCode Insiders for things to work properly. Not sure why the regular VSCode was not updated with fix.

2 Likes

Indeed it seems to be an issue with VSCode. In any case, opening and closing the file removes the error and displays the cells you previously tried to create. It is a bit annoying to have to do that, hopefully they will fix that soon.

Same error here, until I installed “IJulia and Interact”
Now Julia-Notebooks are running correct in VSC.
Hope it helps.