Cannot find module '@angular/tsc-wrapped/src/tsc'


#1

getting this error.


E:\Working Project\schoolsDna>ionic cordova run android --prod
? The plugin @ionic/cli-plugin-cordova is not installed. Would you like to install it and continue? Yes
> npm install --save-dev --save-exact @ionic/cli-plugin-cordova@latest
āˆš Running command - done!
[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of       date.
Error: Cannot find module '@angular/tsc-wrapped/src/tsc'

global packages:

@ionic/cli-utils : 1.5.0
Cordova CLI      : 6.5.0
Ionic CLI        : 3.5.0

local packages:

@ionic/app-scripts              : 1.3.12
@ionic/cli-plugin-cordova       : 1.4.1
@ionic/cli-plugin-ionic-angular : 1.3.2
Cordova Platforms               : android 6.1.2
Ionic Framework                 : ionic-angular 3.5.0

System:

Node       : v7.10.0
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 5.1.0

#2

Update npm to last version

See following post:


#3

Running following command should fix the issue:

npm install --save-dev @angular/tsc-wrapped