-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Directive annotation found on NgFileSelect #16
Comments
Did you add UPLOAD_DIRECTIVES to your components directive array? |
Yes, sure |
Actually don't know about that error, try googling or see the demo. |
Same problem, it appears for versions of angular >= beta8, is it possible to update version of angular? |
Thanks for reporting guys, I will test this and fix ASAP. On Monday, 14 March 2016, AndrewLosikhin [email protected] wrote:
|
@AndrewLosikhin I have beta 6 version. Interesting remark - when I copied the package from node_packages to the project and injected it localy, I did not face the issue. |
Yes, that is how it should be included right now. Sorry for not documenting On Monday, 14 March 2016, SergeyMell [email protected] wrote:
|
The same problem on Anguar 2.0.0-rc2 |
Same problem here Angular 2.0.0-rc2. Any fix? |
This should be resolved with the |
Im getting this same error on RC4 |
This could be an issue with not having the same versions for this module and your (RC4) version of an app. I currently use angular nightly builds for this component and I will update to RC5 when released. |
Hi jkuri, I am experiencing this problem. I am at lost. I am using the RC4 version. Building with webpack for angular 2 universal. I am suspecting the error is generated because of how webpack is bundling things. Is it possible? The following link is the webpack.config file: Is there any other possible cause for this error? Thanks |
Hi, I've solved the issue by copying the module to the project, added index.ts for every ts file, and in it i declared an export * statement. This solved the issue of the No Directive annotation found on NgFileSelect, when running the app. I suspect that before, it was not including the files in the bundle correctly. Thanks |
Hi Kevin, can you submit a PR with |
Hope you fix it soon, same error on RC4. That's a nice project.
|
HI, Created a pull request to integrate the index.ts for the necessary files. |
I am still getting this error. Is there anything wrong i'm doing or someone else is still getting this error? |
How do you import module into your app? can you share you code sample? |
Hi, I have the same error. I try to setup "Basic exemple of upload with ng2-uploader" from the documentation. I import the directives : and i add it into my component as a directive: I use System JS with this config:
And my error is : Template parse errors: Anybody has an idea about what is the problem ? |
i am importing the module this way.
I'm also declaring directives. |
@lacroixdavid1 please check #55 (comment) where I posted example with |
Hi, thank you for the help, but I'm going crazy. My application still does not recognize the Directive, while the example code works fine.
It still does not work. The error is in my opinion a compilation problem. Let me explain:
It seems that typescript has not properly compiled library files. Here's my
I do not see the problem. Anyone has had this error? thank you for any help :) |
it's all working in 0.5.13 |
Still the same error - rc4 |
Actually, after adding a package to my project, I get an error:
which appears in browser console and project does'n work.
The text was updated successfully, but these errors were encountered: