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

Bugsnag: Cannot set properties of undefined (setting 'apiKey') #762

Open
telmaantunes opened this issue Jun 23, 2023 · 0 comments
Open

Bugsnag: Cannot set properties of undefined (setting 'apiKey') #762

telmaantunes opened this issue Jun 23, 2023 · 0 comments

Comments

@telmaantunes
Copy link

telmaantunes commented Jun 23, 2023

In a website using SystemJS, the bugsnag initialization fails with the following message

Bugsnag TypeError: window.require is not a function

SystemJS does not define window.require therefore I've added require to my project and now the integration initializes but gives me the following error:

[Bugsnag] Invalid API key 'undefined'
Uncaught TypeError: Cannot set properties of undefined (setting 'apiKey')
Screenshot 2023-06-23 at 17 39 39

PS: I've obviously confirmed that the Bugsnag destination on segment has its key there.

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

1 participant