Plugin not enabling

Hello,

I’d first like to appreciate your efforts on building such an amazing platform and ever since I’ve come across this I’m amazed to discover features day by day.
While building a plugin for myself, I’ve come across this error:

I’m unable to resolve this.

I’ve followed this guide: https://docs.nocobase.com/development/your-fisrt-plugin

Have you tried running yarn install and yarn nocobase upgrade?

Hey, I encountered this issue too.

My workflow is a little bit different, because the source code of my plugin is in a git repo. I created a new Nocobase app using the CLI “yarn create …”, cloned the plugin in the package/plugins/@myproject/plugin-hello.

I then ran yarn install and yarn nocobase upgrade. I can see the plugin in the UI but can’t activate it. When I try to switch it on, I get this errors in the server logs:

2026-01-28 17:24:52 [error] Failed to enable plugin                      stack=Error: Failed to enable plugin
    at _AppCommand.<anonymous> (C:\Users\Wonder-Sam\Workspaces\noco-test\node_modules\@nocobase\server\lib\commands\pm.js:75:13)
    at async _AppCommand.parseAsync (C:\Users\Wonder-Sam\Workspaces\noco-test\node_modules\@nocobase\server\node_modules\commander\lib\command.js:935:5)
    at async _AsyncEmitter.runAsCLI (C:\Users\Wonder-Sam\Workspaces\noco-test\node_modules\@nocobase\server\lib\application.js:609:23) module=application app=main reqId=aa8f3f72-f0b2-4d34-b27b-f6520f1fa414 dataSourceKey=main
2026-01-28 17:24:52 [error] @wonder/plugin-hello plugin does not exist   stack=Error: @wonder/plugin-hello plugin does not exist
    at _PluginManager.enable (C:\Users\Wonder-Sam\Workspaces\noco-test\node_modules\@nocobase\server\lib\plugin-manager\plugin-manager.js:528:17)
    at async _AppCommand.<anonymous> (C:\Users\Wonder-Sam\Workspaces\noco-test\node_modules\@nocobase\server\lib\commands\pm.js:70:7)
    at async _AppCommand.parseAsync (C:\Users\Wonder-Sam\Workspaces\noco-test\node_modules\@nocobase\server\node_modules\commander\lib\command.js:935:5)
    at async _AsyncEmitter.runAsCLI (C:\Users\Wonder-Sam\Workspaces\noco-test\node_modules\@nocobase\server\lib\application.js:609:23) app=main reqId=aa8f3f72-f0b2-4d34-b27b-f6520f1fa414```

Restarting the app worked after running yarn install then yarn nocobase upgrade.