-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error when compiling my project using your 2.1.0 component version #4
Comments
Hi, which version of angular and typescript are you using? |
Latest angular available on npm as of today, typescript I've tried both
with 2.7.2 and 2.9.2. I was using your old 0.1.0 and for now I reverted
back to that, it works fine.
Il mer 29 ago 2018, 11:53 David Kudera <notifications@github.com> ha
scritto:
Hi, which version of angular and typescript are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKrVd8aZoHUcI6l5SyaJwFCDfSkfF2pZks5uVmR7gaJpZM4WRAhT>
.
--
Matteo Mosca
|
Hmm.. Thats strange, I updated this package few days ago for angular 6. Versions < 2.1.0 was for Angular 5. Also I'm using it with typescript 2.9.2 and angular 6.1.1 and everything works just fine. Could you please create some small project eg. on stackblitz.com? |
Sorry for the late answer but I've been busy on other things. I can show you the problem with a simple screenshot. When opening the file mat-file-upload.component.d.ts with VS from the imported library through npm we can clearly see the errors (I've covered my project name for privacy): There you can see all the errors found. The same errors are reported by the angular cli command line compiler. |
I also have the same issue.
|
Hi, I just updated my dependency to your component and running an
ng build --aot
I get this error on your component:ERROR in node_modules/@webacad/ng-mat-file-upload/mat-file-upload.component.d.ts(13,62): error TS1005: ',' expected.
node_modules/@webacad/ng-mat-file-upload/mat-file-upload.component.d.ts(13,159): error TS1005: '(' expected.
node_modules/@webacad/ng-mat-file-upload/mat-file-upload.component.d.ts(13,194): error TS1005: ')' expected.
Thanks.
The text was updated successfully, but these errors were encountered: