Search code examples
meteorangularangular2-meteor

EXCEPTION: No Directive annotation found on e


I tried to deploy an angular2-meteor project on meteor server.

The app works well locally. And I already did meteor reset before deploying.

Right now it shows a blank page and error:

EXCEPTION: No Directive annotation found on e

I also tried add https, but same error. What does this error mean? Or what can possibly cause this? Thanks

Please open this page and see Console for more error details.

UPDATE: log file I got using meteor logs xxx.


Solution

  • Now I found why it shows these errors.

    If you met similar problems like these:

    EXCEPTION: No Directive annotation found on e

    Or

    ngDoCheck is not a function when using minified bundles

    They are all related with UglifyJS. Right now there is no good way to solve them.

    Check here and here