angular-elements-chat-widget icon indicating copy to clipboard operation
angular-elements-chat-widget copied to clipboard

Cannot import chatModule from node_modules

Open shivakumarnr opened this issue 4 years ago • 0 comments

Hi,

We had a project where we used older version of the chat-widget. We used to generate a tgz file of chat-widget and use it as a custom plugin in our ionic project, we tried the same with the new build and we do get a chat-widget created in node_modules but we are unable to import it in our pages. This is how we used it, but currently we are unable to import the ChatModule which is available in node_modules import {ChatModule} from 'chat-widget' @NgModule({ imports: [ CommonModule, FormsModule, IonicModule, ChatBotPageRoutingModule, ChatModule, HttpModule, RouterModule.forChild([]) ], declarations: [ChatBotPage] })

shivakumarnr avatar Oct 01 '20 04:10 shivakumarnr