Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: this.webview.reloadIgnoringCache is not a function #40

Closed
CiaranOMara opened this issue May 20, 2020 · 1 comment
Closed

Comments

@CiaranOMara
Copy link

[Enter steps to reproduce:]

  1. Click to weave HTML document.

Atom: 1.47.0 x64
Electron: 5.0.13
OS: Mac OS X 10.15.4
Thrown From: language-weave package 0.7.0

Stack Trace

Uncaught TypeError: this.webview.reloadIgnoringCache is not a function

At /Users/username/.atom/packages/language-weave/lib/html-preview.js:49

TypeError: this.webview.reloadIgnoringCache is not a function
    at HTMLPreview.reloadWebview (/packages/language-weave/lib/html-preview.js:49:26)
    at /packages/language-weave/lib/html-preview.js:38:26)
    at FSWatcher.emit (events.js:194:13)
    at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:131:12)

Commands

     -0:12.2.0 weave:weave-to-html (input.hidden-input)

Non-Core Packages

atom-clock 0.1.18 
ftp-remote-edit 0.18.0 
hyperclick 0.1.5 
indent-detective 0.4.0 
ink 0.12.4 
julia-client 0.12.5 
language-julia 0.19.3 
language-weave 0.7.0 
latex-completions 0.3.6 
pdf-view-plus 1.11.0 
tool-bar 1.3.0 
uber-juno 0.3.0 
@aviatesk
Copy link
Member

yeah, atom@1.47.0 happened to disable webviews by default, which we use to render generate HTMLs. The fix is already in master, but the release including that hasn’t come yet. Easy workaround is to downgrade Atom to 1.46.0 or update to the coming nightly release.

@aviatesk aviatesk pinned this issue May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants