Plugin "Duplicate export" error after Discourse update

Updating to 2026.3.0-latest has broken my plugin again.

Can anyone help explain what is wrong?

I see this error in the F12 console in Chrome:

app.js:73 Failed to load plugin discourse-directoryopus from https://resource.dopus.com/assets/js/plugins/discourse-directoryopus_main-iafcdugp.digested.js Error: [PLUGIN discourse-directoryopus] Compile error: RollupError: discourse/plugins/discourse-directoryopus/virtual:entrypoint:main (60:12): Duplicate export "discourse$templates$connectors$user__card__post__names$directoryopus__link__status__card$$__module"
    at discourse-directoryopus_main-iafcdugp.digested.js:1:7

I think that points back to this file:

But that hasn’t changed in years, and only exports one thing.

looks like it may be related to this?

2 Likes

This should take care of it:

4 Likes

Confirming the fix worked. Many thanks!

3 Likes