Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Black screen issue #208

Open
Halmeth opened this issue Mar 17, 2020 · 11 comments
Open

Black screen issue #208

Halmeth opened this issue Mar 17, 2020 · 11 comments

Comments

@Halmeth
Copy link

Halmeth commented Mar 17, 2020

Hello everyone! Hope you're having a great day.

I have an issue with the recent update of Atom and using html-preview:

When I try to preview my code, it shows a black screen instead of my work. Just like this:
html-preview

Does anyone are having the same issue?

Thanks for reading this.

@sanajjang
Copy link

Oh oww... I have same problem with you..
Did you have any Jquery code in your code? ..

@Halmeth
Copy link
Author

Halmeth commented Mar 17, 2020

Yup, I'm using: jquery-3.4.1.min.js

@Halmeth
Copy link
Author

Halmeth commented Mar 17, 2020

Well its seems that downgrading Jquery version to 2.2.4 did the trick for now.

@MotsyRobotsy1984
Copy link

Hi guys,

A few of us on GitHub are experiencing the same issue, so I don't know whether you can give us your thoughts? The Preview HTML panel displays a white background and then changes to black. I'm using the latest version of Atom (1.45.0 x64) on a Mac running OS Mojave.

@MotsyRobotsy1984
Copy link

Well its seems that downgrading Jquery version to 2.2.4 did the trick for now.

How do you do that?

@Halmeth
Copy link
Author

Halmeth commented Mar 25, 2020

Well its seems that downgrading Jquery version to 2.2.4 did the trick for now.

How do you do that?

If you are using Jquery 3.4.1 in your header code remove it and replace it with <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>

I personally moved to VsCode so far, they have more options for previewing your work.

@aubreyz
Copy link

aubreyz commented May 6, 2020

Same here - I can't really downgrade jquery in all of my code just to allow this previewer to work. Black screen and 100% CPU.

@w0lf-dev
Copy link

yes, it looks like this will be a lot of bug fixing
i have the same problem since today. I have not changed the code and I get a black screen aswell

@DhruvaSambrani
Copy link

I get a

No deserializer found for 
> Object
  deserializer: "AtomHtmlPreviewView"
  editorId: "0"
  filePath: "C:\Users\dhruv\Desktop\q1.html"
  __proto__: Object

@aubreyz
Copy link

aubreyz commented May 19, 2020

It would be helpful to know if anyone is working on this previously great package at all before I try to look for other solutions. Not sure that there are any?

@harmsk
Copy link
Owner

harmsk commented May 19, 2020

I will gladly take pull requests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants