The Pro client (
@ionic/pro) provides access to the Deploy and Monitoring APIs. Projects that employ Monitoring without Deploy still need to meet the dependency requirements of the Pro client. If the type definition for
cordova-plugin-ionic isn't present, builds will fail with the following error.
[09:23:21] typescript: node_modules/@ionic/pro/dist/src/definitions.d.ts, line: 1
Cannot find type definition file for 'cordova-plugin-ionic'.
Installing the plugin module as a dev dependency will satisfy the requirements of the Pro client without bundling the plugin into your app.
npm i cordova-plugin-ionic --save-dev
See the npm docs on devDependencies for more details.