rhysd / NyaoVim

Web-enhanced Extensible Neovim Frontend
Other
2.22k stars 57 forks source link

Uncaught TypeError: Cannot read property 'editor' of null #130

Open gwerbin opened 6 years ago

gwerbin commented 6 years ago

Error when I open Nyaovim.

Expected Behavior

Open Nyaovim, edit some text.

Actual Behavior

Nyaovim screen is blank and white. Electron works fine (file menu, etc.), but nothing is rendered in the window.

Error from the dev tools console:

nyaovim-app.js:203 Uncaught TypeError: Cannot read property 'editor' of null
    at HTMLElement.ready (nyaovim-app.js:203)
    at HTMLElement._readySelf (polymer-mini.html:164)
    at HTMLElement._ready (polymer-mini.html:144)
    at HTMLElement._tryReady (polymer-mini.html:129)
    at HTMLElement._initFeatures (polymer.html:4105)
    at HTMLElement.__initialize (polymer-micro.html:234)
    at HTMLElement.createdCallback (polymer-micro.html:217)

Steps to Reproduce (including precondition)

npm install -g nyaovim
nyaovim foo.txt

Screenshot on This Problem (if possible)

empty white editor dev tools error

Your Environment

Additional Comments (if any)

Happy to see this project is getting popular!