phonegap / phonegap-cli

PhoneGap and PhoneGap/Build command-line interface
Apache License 2.0
489 stars 157 forks source link

Phonegap serve not working anymore (7.1.0) #746

Closed MitchellBouwman closed 6 years ago

MitchellBouwman commented 6 years ago

PhoneGap CLI

New phonegap 7.1.0 version

Error:

I was developing for hours today, than my "phonegap serve" stopped working and NPM suggested me to update the Phonegap CLI. I did by running the npm command.

After that I wanted to start my connection again to my phone but the command "phonegap serve" does nothing anymore. No responds, nothing.

Also I could not find what's new in 7.1.0. Downgrading for now to 7.0.1 till this is fixed.

jlchereau commented 6 years ago

Same on Windows 10

surajpindoria commented 6 years ago

I noticed this yesterday as well, I am looking into it. Thanks for reporting this @MitchellBouwman

MitchellBouwman commented 6 years ago

@jlchereau Yes this was on Windows 10 for me also. @surajpindoria No problem!

ogunm commented 6 years ago

Im using windows 7 and i have a same problem Updating phonegap cli after serve command not working now like this in cmd

`c:\xxx\ogun>phonegap serve

c:\xxx\ogun>`

not started server and no returns any error and any log

"ogun" folder my project folder cordova serve command working succesfuly.

martijndk commented 6 years ago

Same problem here, fresh installation of phonegap and no response when running 'phonegap serve'.

Phonegap CLI: 7.1.0 NodeJS: v6.11.4 MacOS: 10.13

ghost commented 6 years ago

i got the same problem too ... need some help to fix it

masoodanwar85 commented 6 years ago

I got the same problem when I updated phonegap version to 7.1.0. To fix it, I uninstalled phonegap first and then installed the previous version which was 7.0.1 (npm install -g phonegap@7.0.1) and it was working fine. There seems to be an issue with the latest version i.e. 7.1.0

MartinHnik commented 6 years ago

Same here, macOS High Sierra, CLI v7.1.0.

surajpindoria commented 6 years ago

Just released a new version that fixes this.

MitchellBouwman commented 6 years ago

Great work, thank you @surajpindoria!