Issue creating a new page in ionic 2 cli

When I run the command ionic g page Newpage I get a invalid ionic server command. Any ideas?

ionic $ ionic g page Newpage

Invalid ionic server command
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exit