#Plugins are loaded but didn't reflect in the UI

1 messages · Page 1 of 1 (latest)

paper nimbus
#

I have a number of custom plugins that are loaded in the backed, via the medusa config file, everything was fine but now suddenly all the plugins seem to be loaded in the backend but are not reflected in the admin UI. No errors, but the customizations added via plugin are missing.

PS: Have cleared .cache, build folder as well as reinstalled medusa package and relinked the plugins. And I'm on Windows

fickle pelican
#

Have you added enableUI: true to the plugin options for each plugin?

paper nimbus
#

Yep

#

One interesting fact,
The migrations from the plugins are still working fine

#

And just now checked, API routes are also working

fickle pelican
#

Can you check in your yarn/npm lock file which versions of the beta packages are installed? And which types of extensions do you have in your plugins: widgets, routes, settings

paper nimbus
paper nimbus
fickle pelican
#

Only talking the UI extensions parts, server extensions and UI extensions are totally separate from a loading perspective. so with routes I mean UI routes (adding new pages), and settings (adding new settings pages). If you have UI settings extensions, maybe try and out comment those to see if that changes anything, they are currently bugged in the latest version, the issue has been fixed but has not been released yet.

paper nimbus
#

So I got what is missing and why this is happening

#

This is the virtual entry file of one of the plugins

#

Here you can see that there is no "type" attribute mentioned in the config

#

And the admin UI requires the type attribute specified for it to register them

#

The older versions seem to register them based on path and zone attributes

paper nimbus
#

This happens due to inconsistencies with the admin package across different plugins

#

And linking the admin package in the plugins will be the only solution

#

Much similar to linking @medusajs/medusa plugin