Skip to content

ionic serve run failed with something wrong with serve #10947

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

Closed
helloqingbing opened this issue Mar 28, 2017 · 2 comments
Closed

ionic serve run failed with something wrong with serve #10947

helloqingbing opened this issue Mar 28, 2017 · 2 comments

Comments

@helloqingbing
Copy link

helloqingbing commented Mar 28, 2017

When I run below command on my Linux machine
Linux VM_53_3_centos 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

sometime below command can succeed, most of time failed with below error message, who can do me a favor!

++++++++++++++++++++++++++++++++++++++
######[Tue Mar 28 23:14 [email protected]:~/webapp/GamePlatform]#####
$ ionic serve


Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:

Please install your Cordova CLI to version >=4.2.0 npm install -g cordova


ionic-hello-world@ ionic:serve /home/qbli/webapp/GamePlatform
ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"

[23:14:57] ionic-app-scripts 1.1.4
[23:14:57] watch started ...
[23:14:57] build dev started ...
[23:14:57] clean started ...
[23:14:57] clean finished in 4 ms
[23:14:57] copy started ...
[23:14:57] transpile started ...
[23:15:05] transpile finished in 7.96 s
[23:15:05] preprocess started ...
[23:15:05] preprocess finished in 1 ms
[23:15:05] webpack started ...
[23:15:05] copy finished in 8.51 s
There was an error serving your Ionic application: There was an error with the spawned command: serve
######[Tue Mar 28 23:15 [email protected]:~/webapp/GamePlatform]#####
$ ionic serve


Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:

Please install your Cordova CLI to version >=4.2.0 npm install -g cordova


ionic-hello-world@ ionic:serve /home/qbli/webapp/GamePlatform
ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"

[23:15:33] ionic-app-scripts 1.1.4
[23:15:33] watch started ...
[23:15:33] build dev started ...
[23:15:33] clean started ...
[23:15:33] clean finished in 3 ms
[23:15:33] copy started ...
[23:15:33] transpile started ...
[23:15:41] transpile finished in 7.75 s
[23:15:41] preprocess started ...
[23:15:41] preprocess finished in less than 1 ms
[23:15:41] webpack started ...
[23:15:41] copy finished in 8.27 s
There was an error serving your Ionic application: There was an error with the spawned command: serve
######[Tue Mar 28 23:16 [email protected]:~/webapp/GamePlatform]#####
++++++++++++++++++++++

But i can run successfully on my mac pro all the time.

@brandyscarney
Copy link
Member

This issue was moved to ionic-team/ionic-cli#2043

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 3, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants