lwsjs / local-web-server

A lean, modular web server for rapid full-stack development.
MIT License
1.2k stars 85 forks source link

"ws" returns "WinSta0". "ws --spa index.html" returns "usage [-d]" #123

Closed AnthonyCartagena closed 5 years ago

AnthonyCartagena commented 5 years ago

I was using this npm package a couple of weeks ago to serve small AngularJS apps locally, but my npm seems to be failing to recognize the "ws" command as belonging to local-web-server now. I have tried uninstalling the package (globally) and reinstalling (globally), but still no luck.

image

75lb commented 5 years ago

my guess is that another command line tool called "ws" is also in your $PATH.. try to find out what it is and let me know..

On Mon, 1 Jul 2019, 19:19 AnthonyCartagena, notifications@github.com wrote:

I was using this npm package a couple of weeks ago to serve small AngularJS apps locally, but my npm seems to be failing to recognize the "ws" command as belonging to local-web-server now. I have tried uninstalling the package (globally) and reinstalling (globally), but still no luck.

[image: image] https://user-images.githubusercontent.com/52259518/60457877-26bcee00-9c0b-11e9-885f-546ca06efb99.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lwsjs/local-web-server/issues/123?email_source=notifications&email_token=AAJQV3H7B4M5TMBEWOA65G3P5JDCBA5CNFSM4H4UZT32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4WPHOQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJQV3AC2RPDWWSSHSNOUILP5JDCBANCNFSM4H4UZT3Q .

AnthonyCartagena commented 5 years ago

my guess is that another command line tool called "ws" is also in your $PATH.. try to find out what it is and let me know.. On Mon, 1 Jul 2019, 19:19 AnthonyCartagena, @.***> wrote: I was using this npm package a couple of weeks ago to serve small AngularJS apps locally, but my npm seems to be failing to recognize the "ws" command as belonging to local-web-server now. I have tried uninstalling the package (globally) and reinstalling (globally), but still no luck. [image: image] https://user-images.githubusercontent.com/52259518/60457877-26bcee00-9c0b-11e9-885f-546ca06efb99.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#123?email_source=notifications&email_token=AAJQV3H7B4M5TMBEWOA65G3P5JDCBA5CNFSM4H4UZT32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4WPHOQ>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJQV3AC2RPDWWSSHSNOUILP5JDCBANCNFSM4H4UZT3Q .

I don't see anything in my User or System environment variables that would resemble "ws"

75lb commented 5 years ago

it's this: https://www.mkssoftware.com/docs/man1/ws.1.asp

closing as it's not a bug with this tool.