-
-
Notifications
You must be signed in to change notification settings - Fork 424
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
Webserver home page not showing servers #95
Comments
Hi @rianadon, Thanks for the comment and reporting this issue. I can't seem to reproduce (tried with Chrome, Firefox on Windows 10). If you open the browser dev tools, do you see some errors? |
Thanks for looking into this! There aren't any errors, but vuex is complaining that an action is not a function (see below). Could this be the error? Upon further inspection, the problem seems to be with the var source = new EventSource('/_/events');
source.addEventListener('message', function(e) {
console.log(e.data);
}, false); When adding new servers nothing appeared, but once I ran Then, I used telnet to fake an http request to |
Thanks for doing these tests. Maybe it's related to the version of Node used? What's your version? |
Currently I'm on 5.3.0. And yes, I'm using |
I just installed 6.0.0 and I'm still encountering the same problem. |
Weird. I did the test with |
I forgot to mention this as I deemed it unimportant, but the computer on which hotel is not working is in fact running a Windows Insiders Build (14332). Since I tried installing hotel on a regular Windows build (same node version) and it worked, I guess this is either somehow related to my specific machine or the different build of Windows (but I have no idea why 😕 ). Moving on, the
I'll update this comment as I do more testing, and I guess if you are able to you could try running hotel on a computer with a Windows Insider Preview. |
As I mentioned in my previous comment, this seems to be related to an issue with Node.js and the Windows Insider build and not hotel. Thank you so much for trying to help resolve the issue! |
Awesome job figuring everything out (didn't even know about Windows Insider), thank you! |
You're welcome. |
I just installed hotel today, and it looks very cool!
However, after I started hotel and added a server, the webpage stills displays "Welcome, please enjoy your stay! Use hotel command-line to add servers".
Interestingly though, once I run
hotel stop
, the list with the server's name appears.I can also still use hotel by navigating to
localhost:2000/project
.This happens in both the latest versions of Chrome and Firefox on Windows 10.
Thank you!
The text was updated successfully, but these errors were encountered: