ionic-framework: Cannot find module '@angular/tsc-wrapped/src/tsc'

Ionic version: (check one with “x”) [ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [ ] 3.x

I’m submitting a … (check one with “x”) [1 ] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

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’

Expected behavior:

Steps to reproduce:

Related code:

insert any relevant code here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

insert the output from ionic info here

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

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20 (12 by maintainers)

Most upvoted comments

Run npm install --save-dev @angular/tsc-wrapped in your shell

Hi all, I ran into this myself and was able to resolve it by removing my package-lock.json and node_modules and installing again, after having upgraded node and npm. There must have been an issue with the older version that stayed broken even after upgrading.

Hi everyone thanks to @mylynch and @wbhob , I confirm doing the following resolved my issue (in Ionic Pro): 1.npm install 'at’angular/tsc-wrapped --save 2. Removed nodu_modules folder 3. Ran ‘NPM install’

I am using node v8.6.0 and NPM 5.3.0 as well as ionic-app-scripts 3.0.1

Ps. Replace ‘at’ w/ the actual symbol

It’s the only fix I have found, and it’s pretty standard practice: if one module depends on another, you have to install it.

Try npm installing that module, angular/etc-wrapped