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

NG0203 error with the inject() function. #43

Open
cleoyaojiang opened this issue Apr 22, 2024 · 1 comment
Open

NG0203 error with the inject() function. #43

cleoyaojiang opened this issue Apr 22, 2024 · 1 comment

Comments

@cleoyaojiang
Copy link

Hello and thank you for releasing this great tool!

I tried to use it in my Angular project, but it's giving me NG0203 error, which I believe is related to the inject() function?
I'm using Angular 16, is it compatible with your module? And has anyone reported similar errors before?

Thanks very much!

@hmartos
Copy link
Collaborator

hmartos commented Apr 27, 2024

Hi @cleoyaojiang, thank you very much for your kind words.

I don't know where are you getting this error, and whether the error is thrown at runtime or build-time. The Demo is working with Angular 16, so I think it should be a build-time error that might be related to this issue.

Anyway, take into account that the Tableau JavaScript API was deprecated in February 2024 in favor of the Tableau Embedding API v3, which expose a web component to do exactly what this Angular module does. Here there is an official migration guide that might be useful.

I would strongly suggest using the new embedding API if you are recently integrating this module, and I will add this warning to the README so anybody else knows that this module is also going to be deprecated, and will not be maintained anymore.

I hope this helps!

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

No branches or pull requests

2 participants