Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Angular 12 and 13 #410

Closed
szuperaz opened this issue Feb 16, 2023 · 1 comment
Closed

Problems with Angular 12 and 13 #410

szuperaz opened this issue Feb 16, 2023 · 1 comment

Comments

@szuperaz
Copy link
Contributor

szuperaz commented Feb 16, 2023

Background
https://stackoverflow.com/questions/75452137/unable-to-build-with-angular-12-13

Problem
It seems that there are two problems happening when someone is using stream-chat-angular with Angular@12 (or 13):

Workaround
For Angular 12 (tested with node v16):
npm install stream-chat-angular stream-chat @ngx-translate/core [email protected] ngx-popperjs@12 --legacy-peer-deps

For Angular 13 (tested with node v16):
npm install stream-chat-angular stream-chat @ngx-translate/core [email protected] ngx-popperjs@13 --legacy-peer-deps

Proper solution

  • Make angular-mentions and ngx-popperjs peer dependencies
  • Fix angular-mentions version to 1.4.0
  • Update the tutorial with the correct install statements -> we'd still need some workaround due to the npmbug
  • Ideally we should have automated tests for the tutorial for each supported Angular version
@szuperaz szuperaz mentioned this issue Apr 5, 2024
13 tasks
@szuperaz
Copy link
Contributor Author

Fixed in version 5 (in beta)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant