CMS Development

FOman
Participant

How to view detailed logs when the error "Unable to initialize extension" appears?

As I am coding, I find that it happens running hs project dev works fine but fails after running hs project upload.

 

When I go to the trace logs for the app, all it says is "Unable to initialize extension". Is there a way to see more details as to why it could not be initialized. It makes it hard to develop and debug as to what the problem is.

 

Thanks!

0 Upvotes
3 Replies 3
MiaSrebrnjak
Community Manager
Community Manager

How to view detailed logs when the error "Unable to initialize extension" appears?

Hi @FOman,

Thank you for reaching out to the Community! 

 

I wanted to tag a couple of subject matter experts to see if they could help: 

Hi @MatthiasWeber@alyssamwilie@miljkovicmisa, do you maybe have any advice for @FOman? Thank you! 

 

 

Cheers
Mia, Community Team    




Wusstest du, dass es auch eine DACH-Community gibt?
Nimm an regionalen Unterhaltungen teil, indem du deine Spracheinstellungen änderst


Did you know that the Community is available in other languages?
Join regional conversations by
changing your language settings


0 Upvotes
jna38
Participant

How to view detailed logs when the error "Unable to initialize extension" appears?

You can enable debugging mode or check system logs for more detailed error messages. Make sure all dependencies and permissions are correctly configured. Running the upload in a local/staging environment might also help identify the issue.

FOman
Participant

How to view detailed logs when the error "Unable to initialize extension" appears?

Thanks for responding. Those sound like good ideas only I was wondering if you had advice on how to check the "system logs" or how to enable the "debugging mode". I have been following https://developers.hubspot.com/changelog/log-tracing-for-ui-extension-development pretty much to get logs and unfortunaely I don't see more info there regarding debugging / system logs. Still getting familiar with Hubspot so appreciate the responses!

0 Upvotes