Uncaught Error: The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.
At /usr/lib/electron/resources/electron.asar/renderer/web-view/web-view.js:241
Error: The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.
at getGuestInstanceId (/usr/lib/electron/resources/electron.asar/renderer/web-view/web-view.js:241:13)
at HTMLElement.send (/usr/lib/electron/resources/electron.asar/renderer/web-view/web-view.js:272:77)
at WebviewHandler.scrollSync (/packages/markdown-preview-plus/lib/markdown-preview-view/webview-handler.js:135:23)
at disposables.add.atom.views.getView.onDidChangeScrollTop (/packages/markdown-preview-plus/lib/markdown-preview-view/markdown-preview-view-editor.js:117:26)
at Function.simpleDispatch (/usr/lib/atom/node_modules/event-kit/dist/emitter.js:64:14)
at Emitter.emit (/usr/lib/atom/node_modules/event-kit/dist/emitter.js:257:28)
at TextEditorComponent.setScrollTop (/usr/lib/atom/src/text-editor-component.js:2808:28)
at TextEditorComponent.setScrollTopRow (/usr/lib/atom/src/text-editor-component.js:2859:30)
at TextEditorComponent.flushPendingLogicalScrollPosition (/usr/lib/atom/src/text-editor-component.js:2024:31)
at TextEditorComponent.didShow (/usr/lib/atom/src/text-editor-component.js:1467:12)
at TextEditorComponent.didAttach (/usr/lib/atom/src/text-editor-component.js:1433:14)
at HTMLElement.attachedCallback (/usr/lib/atom/src/text-editor-element.js:41:25)
at HTMLElement.activeItemChanged (/usr/lib/atom/src/pane-element.js:152:22)
at Function.simpleDispatch (/usr/lib/atom/node_modules/event-kit/dist/emitter.js:64:14)
at Emitter.emit (/usr/lib/atom/node_modules/event-kit/dist/emitter.js:257:28)
at Pane.setActiveItem (/usr/lib/atom/src/pane.js:439:20)
at Pane.activateItemAtIndex (/usr/lib/atom/src/pane.js:562:17)
at Pane.activatePreviousItem (/usr/lib/atom/src/pane.js:526:12)
at Pane.removeItem (/usr/lib/atom/src/pane.js:698:14)
at Pane.destroyItem (/usr/lib/atom/src/pane.js:779:10)
Duplicate of #456. TL;DR we can't support Atom built against Electron 4.1.4, since it's apparently an unofficial hack. This does not, to my knowledge, reproduce on the official Atom release.
[Enter steps to reproduce:]
Atom: 1.37.0 x64 Electron: 4.1.4 OS: "Manjaro Linux" Thrown From: markdown-preview-plus package 3.8.1
Stack Trace
Uncaught Error: The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.
Commands
Non-Core Packages