livechat/chat-widget-adapters

Code run time Error (livechat-widget' is not a known element)

AmolShinde11 opened this issue · 2 comments

Describe the bug
We try to test LiveChat on our application but it did not work, tried to run code but that time showed an error.

We have referenced the document for implementation.
https://github.com/livechat/chat-widget-adapters

To Reproduce
Steps to reproduce the behavior:
See error:
error NG8001: 'livechat-widget' is not a known element:
1. If 'livechat-widget' is an Angular component, then verify that it is part of this module.
2. If 'livechat-widget' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.

Screenshots
image

Version:
-Angular Version 9

Hello @AmolShinde11 👋

Sad to hear that you have encountered an error with our package.
Unfortunately, as for now, this package is aimed to support the last two Angular versions: 12 and 13 as below 12 the output produced by@angular/compiler@13 seems to be incompatible with the lower version.

The dependence on specific Angular version is emphasized using peerDependecies inside packages package.json as you can see here:

"@angular/core": "12 || 13",

Because your request targets a version lower than the currently supported ones, this issue will not have a high priority. I won't close it right away and I will try to do some debugging first and we will see if we can do anything more to actually support a wider range of Angular versions.

Could you please first extend the Version list in your original request by providing a list of:

  • all @angular/* dependencies in your project
  • version of typescript
  • version of rxjs
  • version of zone.js
  • optionally, if used, a version of tslib

Feel free to propose your solution if you will have one or provide any more details if some will be available 🙂

Closing as for now we are not officially supporting the Angular versions lower than 12.
The issue will be reopened If we will introduce support for Angular 11.