MindscapeHQ / raygun4js

JavaScript provider for Raygun
https://raygun.com
Other
149 stars 60 forks source link

Angular16: Could not find a declaration file for module 'raygun4js'. #517

Closed alexandrearc closed 9 months ago

alexandrearc commented 10 months ago

Hey guys,

I am trying to setup Raygun on my Angular 16 application. Following the steps the first issue I encounter is:

image

I followed the recommendation and run: npm i --save-dev @types/raygun4js.

After finishing the other steps from the Angular setup page my app doesn't load. It keeps frozen on the SSO Login page, no issues in the console or anywhere else I can see.

I also tried the CND setup and got the same behavior.

So I am not sure I what I am doing it wrong. Any ideas ?

Deacon-McIntyre commented 10 months ago

Hi @alexandrearc, thanks for raising this.

Yes, installing the types is something missing from our Angular documentation so I will get that updated.

As for that freezing issue, I unfortunately haven't been able to reproduce it. It doesn't sound like you are doing anything wrong, are you able to share any more details about your application to help us investigate/reproduce this? Feel free to raise a support ticket if you want to send us any code that you'd rather not be public.

Other things to try would be

sumitramanga commented 9 months ago

Hi @alexandrearc

Did you still need help with this issue or has my colleague's answer helped you out? Let us know how you get on!

Cheers, Sumitra

alexandrearc commented 9 months ago

Hey @sumitramanga,

Unfortunately I haven't had a chance to give it another try. Please feel free to close it and I can reopen again if needed.

Thanks for the support, Alex

sumitramanga commented 9 months ago

Hi @alexandrearc,

No worries, will close out but please do contact us either through here or via our contact form on raygun.com if you'd like any additional assistance.

Cheers, Sumitra