-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module '@angular/tsc-wrapped/src/tsc' #12357
Comments
Duplicate #12065 |
P.S.: Update npm to last version may most probably gonna help |
done this with npm 5.3 and install node modules again. but still facing same issue |
sorry didn't saw you weren't using the actual ionic app-scripts :( then downgrade npm or upgrade npm and ionic app-scripts and ionic-angular (but pay attention to the change log https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md a line need to be added to index.html) |
Hello, all! At this point, this is due to issues in the latest release of npm. Downgrading to npm 5.1 fixes the issue, but we are considering just adding this package to our package.json (even though we technically shouldn't have too) for the meantime until npm fixes their issue. Gonna keep this one open for now as we discuss what we should do. |
@jgw96 downgrading ... or upgrading everything might work too I think about adding the package in our package.json...at one point npm gonna be fine again, no need to rush ;) |
Run |
Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic! |
This still occurs with npm > 5.1 correct? Is it Ionic's direction that we should just add @angular/tsc-wrapped to our package.json, or is that still under consideration? |
@Barryrowe - FWIW, I am using npm version 5.3 and do not have this issue. What version are you using? |
Node v8.4.0 I just downgraded to NPM 5.2.0 due to this issue and still get the error with @angular/tsc-wrapped not found |
Try npm installing that module, angular/etc-wrapped |
@wbhob that's where I am at now, which is where my original question comes from. Is that the official path forward, and the templates for Ionic will include the package in package.json? |
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. |
@wbhob agreed if you depend directly, just odd that it would be installed as a transitive dependency with npm 4.X and not 5.x. Simple solution, just odd. |
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): 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 |
Node 8 / NPM 5 |
This can also happen if you lost internet connection while running |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
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
Expected behavior:
Steps to reproduce:
Related code:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):global packages:
local packages:
System:
The text was updated successfully, but these errors were encountered: