Closed ricLuo closed 5 years ago
You need to change the import, they used without the dist, now you need to add it in the import like
import { Angular5Csv } from 'angular5-csv/dist/Angular5-csv';
You need to change the import, they used without the dist, now you need to add it in the import like
import { Angular5Csv } from 'angular5-csv/dist/Angular5-csv';
Hi asfo,
Thanks for your reply. I actually solve it by wrap it in try catch block and using "require" to import module. I found that it possibly happens because the Azure cloud which we deployed our app, moved our app to new server so all the packages get reinstalled and application restarted. I also changed the path to "dist" as you recommended
Also thanks for your reply
Don't worry, nice to read that you solve your issue. I just add my comment in case someone else needs to fix this because I had this issue again and I remember that I read some people were having the same issue.
Hi I'm a user of this csv module and really appreciate you developed this angular5-csv module. It helps a lot. Yesterday I'm experiencing error with this module. It said cannot find this module. It causes my company's website down in production. So I'm asking is there a way to prevent this from happening ? Or could I do any configuration of webpack for the failure tolerance ? Thanks