I've been working on my angular 2 app yesterday and everything ran fine.
Today I was trying to npm start
my app and I get this compile error:
typings/browser/ambient/moment/index.d.ts(9,21): error TS2503: Cannot find namespace 'moment'.
Although I didn't mention anything releaeted to moment
in my app!
What can cause this error if I'm not using anything releated to moment
?
I tried:
- The solutions here
npm remove moment
Any ideas?