-
Notifications
You must be signed in to change notification settings - Fork 685
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
Serve not working in Ubuntu 16.04 64bit #111
Comments
I confirm this bug. I'm running Ubuntu without a VM.
|
I tried and had the same bug with For some reason, |
Yep -- this works when run via npm -- but not on the Ubuntu command line. In package.json:
Then:
Works as expected. Server starts -- keeps running -- and pages are served fine. However:
Doesn't work. Simply goes right back to the command line.
|
I can confirm this issue on Void Linux with serve 3.3.1. |
Testing this out, it looked like the issue was that when on Linux and (Still not sure why this isn't a problem when you run |
Yep. Installed xclip -- and all is well:
Then:
And everything works fine:
|
serve -v Stop working in |
Did you try installing xclip as mentioned above?
|
Thanks @cschweda yes, that solves the problem sorry. |
Not sure if this is a known issue -- or an issue with my specific configuration -- but even after installing globally in Ubuntu 16.04 64 via:
npm i serve -g
And then running against files in a static directory (a Vue.js build):
serve ./dist
The terminal displays that the server started, gives the two sets of URLs, and then goes right back to the command line.
No errors -- but it immediately stops serving.
Anyone else see this?
(Just as a sanity check, I installed
http-server
gloabally via npm, ran it against the same static directory, and all is well. Files are served fine via localhost.)Thoughts?
PS -- Not that it should matter, but I'm running Ubuntu via VMWare on a Windows box with 4 gigs ram to the vm.
The text was updated successfully, but these errors were encountered: