Typescript Error Cannot find type definition file for 'cordova-plugin-ionic'

hi eveybody, i am a new comer to ionic and i am trying to run a project locally, but when i do the ionic serve, i get the following message :


Typescript Error
Cannot find type definition file for 'cordova-plugin-ionic'.
...nt app/ecommerce-app/node_modules/@ionic/pro/dist/src/services/deploy/index.d.ts
import { App, CheckAndApplyResponse, DeployConfig, ProgressFunc } from '../../definitions';
export interface DeployV5API {

Welcome. Did you download some third-party starter app template, or did you build this from scratch? If it’s a download, I would suggest asking whoever made it for support (if you paid them). Otherwise, please outline the steps you took to create the project, because anything with @ionic/pro in it is not strictly necessary to use Ionic.

hi, i bought from a third party so i am going to ask from the seller.