If you want to use serve, you can install and use it with npm like so:
npm install
npm run serve
The page will be available at localhost:5000/index.html.
If you want to test this on a mobile device, you will need to make a tunnel to your local machine. I recommend you use ngrok for this. You can download and install ngrok from ngrok.com. Once you have it installed, run
ngrok http 5000
This will open a tunnel to the locally hosted project. You will get two randomly generated URLs, enter the HTTPS version into the browser in your mobile device.
npm install
npm install ionic -g
ionic serve
ionic cordova prepare android
ionic cordova run android -l
Make sure the Android Simulator is open and running
npm test
If you want to use serve, you can install and use it with npm like so:
npm install
npm run serve