Ionic serve - lots of errors after installing Ionic deploy

I’ve recently setup Deploy with Ionic Pro for my Ionic application. However, now whenever I run ionic serve I get this errors:

ERROR Error: Uncaught (in promise): cordova_not_available

Error loading deploy information. No Plugin Available

I know that Cordova is not available in the browser, but how can I tell the app to stop searching for the plugin while testing with ionic serve?