500 error when installing the Advanced Hero Component

Tried to install via button or manually, keep getting 500 errors or it redirects me to 404 on our website. Is it just me?

Salut, pour ma part je n’ai pas eu de souci pour installer le composant .
Si tu installes le composant manuellement avec le dépôt

Cela ne fonctionne pas ?

Tried on 3.4 and 3.5.

I just tried installing it and it worked, without the error you see. Are you using the correct URL to the github repo? Should be

https://github.com/thebestgoodguy/vibecommit-hero.git

It might be due to your Discourse version and the fact that when the versatile banner component was adopted, the compatibility file was not cleared. I suspect that the commit specified there for your version cannot be found in the current repository because it belongs to the versatile banner.

2 Likes

The .git at the end of the URL is what fixed it! Thank you!

lol nevermind, this is what I ended up with:

Looks like you created a new theme. You’d need to select “from a git repository”. But I guess that will fail

I also just tried it again without the .git at the end, and it still works on my end.

So yes looks like Moin may be on the right track with her advice. Have you updated your site to latest? Do you have another component already installed that is conflicting?

The error handling is fairly attrocious here - would be nice if a better error message could be shown! :upside_down_face: Can you check if more/better info about what is going wrong is appearing in the javascript console?

Yes I tried on our staging where we have 3.5. Perhaps it’s the versatile banner we have that’s causing conflict. Either way, thank you everyone for help.

Let us know if that works. I will shift this to a new Support topic so we can tie it off.