Page 1 of 1

No Directive annotation found on DataTable

Posted: 06 Jun 2016, 21:27
by germeson1
Alright, so I've been trying to use primeng components.
I've set up my project with :


"angular2": "2.0.0-beta.7",
"primeng": "1.0.0-beta.8",
"rxjs": "5.0.0-beta.2"

Every time I provide DataTable directives it simply crashes with:

EXCEPTION: Error: Uncaught (in promise): No Directive annotation found on DataTable

The only thing I notice is the source code on github is very different from the package that gets downloaded with npm.
Am I doing something wrong?

Re: No Directive annotation found on DataTable

Posted: 08 Jun 2016, 17:57
by germeson1
I resolved it by creating a new project and sorting out the mess of dependencies that I had.

I came into realization that "angular2" is not the newest angular, and that "@angular" is what I must be using right now.
I had both angular2 and @angular dependencies, which was causing this error.