TS Transpiler showing errors from unexisting files. Clear cache possible?


#1

I’m having a lot of problems with the transpiler using Ionic2 & TypeScript making the debugging and learning process very slow.
First, VSCode is not showing a single clue in the console, so I have to use bugzilla.
There, the console keeps showing me errors from files I’ve already deleted or modified.

How is it possible? Where is the transpiler getting this code? Is it possible to clear cache?

npm and ionic updated just yesterday.


#2

Try deleting the .tmp folder if it exists, and try again.


#3

Thank you! It solved the problem temporary, but it doesn’t have any sense of my doing it again and again by hand. Any idea why those outdated files are not deleted after change detection?

EDIT: Now .tmp does exists and the error appeared again showing errors of unexisting code.

The file raising the error is polyfills.js
Any idea?


#4

Not sure why. Is your ionic cli updated to the latest version ?


#5

Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.36
OS: Windows 7 SP1
Node Version: v5.7.0