ngx-chips
ngx-chips copied to clipboard
Can't resolve 'ng2-material-dropdown' in '...'
I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] support request/question
Notice: feature requests will be ignored, submit a PR if you'd like
Current behavior
I have updated my angular app to 6 and started to get error, before everything was fine.
All works fine in the dev mode. But when I make the production build ng build --prod I get the following error:
Module not found: Error: Can't resolve 'ng2-material-dropdown' in 'path_to_my_module_where_I_import_the_TagInputModule'
If I install ng2-material-dropdown then I don't get the error.
Some info that could be helpful:
- I import
TagInputModulein the feature lazy module, not AppModule. - node version is
9.11.1 - npm version is
5.6.0
Expected behavior
Should work in prod mode too.
Minimal reproduction of the problem with instructions (if applicable)
What do you use to build your app?. Please specify the version
Angular CLI 6.0.0
Angular version:
6.0.0
ngx-chips version:
1.9.1
Browser: [all]
Can you try v1.9.2? If not, does it make a difference if the module is not lazy loaded?
I have tried, the same error.
If not, does it make a difference if the module is not lazy loaded?
I just mentioned it in order to show how I use it. But, no, there is no difference, I have checked it right now
Unfortunately I haven't been able to reproduce this issue, really not sure what's going on.
hello @sharok have you found any solution? , because I am facing the same issue while removing some unnecessary packages from my angular project, and trying to build the project at that time it's giving me errors same ..