-
Notifications
You must be signed in to change notification settings - Fork 7
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
Blank screen in kweb #14
Comments
Can you load from your desktop this URL on a browser? |
Yes, openHAB loads as usual Also, if I run |
Can you subscribe for MQTT topics to see if they are published/updated when you play with OH ? |
I don't think it is a MQTT problem, everything seems to be ok in the openHAB side I run MQTT_Explorer and can see topics updating Besides, I can run the original one-ui (I made a backup 😄) with |
I think it may be a permission thing with the UI files you built... Try running the |
Ok, so I managed to build a kind of trace mechanism in
just before the
So it seems to be an issue regarding webpack and minification? |
@atd which commit revision are you on? Also, can you update vue.config.js to not minify and see what the real line number/error is? #13 (comment) |
I am at 359e7f2 I checked it without minification and I get
which corresponds to
This is the first appearance of in that file, |
I can confirm the I have tried to configure vue browserlists to |
Thanks for the additional information. That's a bit puzzling as nothing in the build process has changed over the last several commits and unfortunately I am not able to replicate the issue. The bundle I generate from running I'll have to take a closer look at the babel and webpack config tomorrow if you're still having issues. Do you remember which commit were you building that you weren't seeing the issue? |
Yes, I think it is something related to my setup. I have: node version: 10.17.0 I started a I haven't be able to get a build that is ES5 |
@atd I've added my If you still have issues with your generated build try updating to the latest version of node. Here's the versions I'm using: node version: 13.9.0 |
@jaythomas the .lock file caused these alerts. |
Sure, I will ASAP @gulliverrr I cannot access the alerts (404), but I was missing the |
Yay! That did it! Now I can see the UI working fine Thank you both for your support! |
I just built
ONE
branch usingyarn build
(withoutMQTT_SERVER
env variable) and deployed it to my HestiaPi instance. But it just shows a blank screenI also access via ssh and forward the display to my desktop, run
kweb -J /home/pi/oneui.bad/index.html
but it just does the sameHowever, if I open the file with Chromium it does shows
Off
, info icon, etc.. with some errors in the javascript console regarding MQTT connection to localhost (as expected) and one additional error about aServiceWorker
Any clues on what might go wrong, or how I can debug it?
The text was updated successfully, but these errors were encountered: