Please Login to Continue

Free Software Development Articles.Email List

Advertise Here

Solve Ionic Transpile Problem Ionic Serve: Error: Cannot find module '@angular/tsc-wrapper/src/tsc'

How I solved ionic serve that did not work. When run command "ionic serve" and execution stuck on Transpile Started:

  1. First, I downgraded npm to 5.2.0 Just run this command (npm install -g [email protected])
  2. Then, after downgrading npm, follow whatever error it's giving you. For me, the error was(Error: Cannot find module '@angular/tsc-wrapper/src/tsc'). It was clear that I needed to install a wrapper before proceeding with "ionic serve".
  3. Then, run the command (sudo npm install --save-dev @angular/tsc-wrapper) that installed the wrapper.
  4. After that, I then run the command (sudo npm install) to install all other requirements before running "ionic serve"
  5. Eventually, I run "ionic serve --browser 'chrome'" and my app compiled and back to development again after days of struggling.
Technology published
Buy Me Coffee

Was this page helpful?

Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful..



© 2020 - ErnesTech - Privacy