harmsk / atom-html-preview

Atom HTML Live Preview Package
MIT License
174 stars 74 forks source link

Black screen issue #208

Open Halmeth opened 4 years ago

Halmeth commented 4 years ago

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 commented 4 years ago

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

Halmeth commented 4 years ago

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

Halmeth commented 4 years ago

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

MotsyRobotsy1984 commented 4 years ago

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 commented 4 years ago

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

How do you do that?

Halmeth commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

I get a

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

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 commented 4 years ago

I will gladly take pull requests.