ngx-chips: TypeScript warning Ng2Dropdown name not found
What?
Hi, we installed this module on my project and we’re getting this error on our Webpack 2 build:
[at-loader] node_modules/ng2-tag-input/dist/modules/components/dropdown/tag-input-dropdown.component.d.ts:12:15
Cannot find name 'Ng2Dropdown'.
I checked that ng2-material-dropdown
is in our node_modules
.
Do you know what we’re doing wrong? Thanks for your time
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 4
- Comments: 36 (14 by maintainers)
Hey @beeman,
Thanks for the link, I read it some days ago. I will have a look at something must have changed as everything was working fine in some earlier release.
Hi @anvesh thanks for taking the time to investigate, I will have a look but probably I won’t be able to do it earlier than tomorrow.
@Gbuomprisco yep, something changed. I had the same issue and one of the maintainers of angular-cli pointed me to this page.
FWIW, I worked on a generator based on this guide that does lot of the heavy lifting: https://github.com/beeman/generator-ngx-module
https://github.com/angular/angular-cli/issues/4099#issuecomment-273608848