# Ionic serve command not working

**URL:** <https://forum.ionicframework.com/t/ionic-serve-command-not-working/114826>\
**Category:** ionic-v1\
**Created:** [December 8, 2017, 11:26pm UTC](https://forum.ionicframework.com/t/ionic-serve-command-not-working/114826 "2017-12-08T23:26:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamasm92](https://avatars.discourse-cdn.com/v4/letter/h/c6cbf5/32.png) [@hamasm92](https://forum.ionicframework.com/u/hamasm92)\
**Post date:** [December 8, 2017, 11:26pm UTC](https://forum.ionicframework.com/t/ionic-serve-command-not-working/114826/1 "2017-12-08T23:26:38Z")

</div>

Hello,

I am new to Ionic, learning from udemy…  
I am trying to run ionic serve command in Windows10 Bash CLI

This is what I get in return:

 ![ionic serve error](https://global.discourse-cdn.com/ionicframework/original/3X/7/c/7cd0528348fb3092cea64323abf711703d1a6719.png)

Please help

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [December 9, 2017, 12:29am UTC](https://forum.ionicframework.com/t/ionic-serve-command-not-working/114826/2 "2017-12-09T00:29:58Z")

</div>

What is your `ionic info` output?

---

<div class="post-metadata">

**Author:** ![hamasm92](https://avatars.discourse-cdn.com/v4/letter/h/c6cbf5/32.png) [@hamasm92](https://forum.ionicframework.com/u/hamasm92)\
**Post date:** [December 9, 2017, 12:40am UTC](https://forum.ionicframework.com/t/ionic-serve-command-not-working/114826/3 "2017-12-09T00:40:05Z")

</div>

Here is my output

```auto
hamas@DESKTOP-32LEMPU:/mnt/c/Users/DesignImpact/Documents/ionic1/project1$ ionic info
[WARN] Error with ./www/lib/ionic/version.json file: FILE_NOT_FOUND, trying ./bower.json.

cli packages: (/usr/lib/node_modules)

    @ionic/cli-utils : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 7.1.0
    Gulp CLI : CLI version 3.9.1 Local version 3.9.1

local packages:

    Cordova Platforms : none
    Ionic Framework : ionic1 1.3.4

System:

    Node : v9.2.0
    npm : 5.5.1
    OS : Linux 3.4

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

```

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [December 9, 2017, 1:15am UTC](https://forum.ionicframework.com/t/ionic-serve-command-not-working/114826/4 "2017-12-09T01:15:13Z")

</div>

> [@hamasm92](#):
>
> Node : v9.2.0

I would advise you to try a LTS version.

---

<div class="post-metadata">

**Author:** ![hamasm92](https://avatars.discourse-cdn.com/v4/letter/h/c6cbf5/32.png) [@hamasm92](https://forum.ionicframework.com/u/hamasm92)\
**Post date:** [December 9, 2017, 1:28pm UTC](https://forum.ionicframework.com/t/ionic-serve-command-not-working/114826/5 "2017-12-09T13:28:00Z")

</div>

How do you i get it in current project?  
Please don’t mind I m very new to this

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [December 9, 2017, 3:10pm UTC](https://forum.ionicframework.com/t/ionic-serve-command-not-working/114826/6 "2017-12-09T15:10:06Z")

</div>

You can only change the version globally, but there are ways to have several versions installed at the same time:

Uninstall your node, install [`nvm`](https://github.com/creationix/nvm) (or [`nvm-windows`](https://github.com/coreybutler/nvm-windows) if you are on Windows), install a new `node` (which includes `npm`) with this, then install `ionic` and `cordova` again and try your command again.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:59pm UTC](https://forum.ionicframework.com/t/ionic-serve-command-not-working/114826/7 "2021-07-19T21:59:45Z")

</div>

Closed on July 19, 2021, 9:59pm UTC


