Custom plugin can't registry to grafana

After i create a custom plugin, and restart the grafana service,
Open Grafana and go to ConfigurationPlugins , i cant see the custom plugin.

the command i exec is

npx @grafana/toolkit plugin:create my-grafana-plugin
cd my-grafana-plugin
yarn install
yarn dev

and i see the log, seems there is no registry message…

0400817@bixindeMacBook-Pro-3 ~ % ps -ef | grep plugin
  262   378     1   0 27 421  ??         0:10.28 /System/Library/Frameworks/CoreMediaIO.framework/Resources/VDC.plugin/Contents/Resources/VDCAssistant
  502 57014 10666   0  2:50下午 ??         0:41.64 /usr/local/bin/node /Applications/WebStorm.app/Contents/plugins/JavaScriptLanguage/jsLanguageServicesImpl/js-language-service.js -id=1626418245150 -debug-name=typescript
  502 58957     1   0  4:58下午 ??         0:05.48 /usr/local/opt/grafana/bin/grafana-server --config /usr/local/etc/grafana/grafana.ini --homepath /usr/local/opt/grafana/share/grafana --packaging=brew cfg:default.paths.logs=/usr/local/var/log/grafana cfg:default.paths.data=/usr/local/var/lib/grafana cfg:default.paths.plugins=/usr/local/var/lib/grafana/plugins
  502 59952 21477   0  6:09下午 ttys006    0:00.00 grep plugin
dz0400817@bixindeMacBook-Pro-3 ~ %
dz0400817@bixindeMacBook-Pro-3 ~ %
dz0400817@bixindeMacBook-Pro-3 ~ %
dz0400817@bixindeMacBook-Pro-3 ~ %
dz0400817@bixindeMacBook-Pro-3 ~ %
dz0400817@bixindeMacBook-Pro-3 ~ %
dz0400817@bixindeMacBook-Pro-3 ~ %
dz0400817@bixindeMacBook-Pro-3 ~ % ps -ef | grep plugin | grep Registering
dz0400817@bixindeMacBook-Pro-3 ~ %

somebody knows the problem? thx
2021-07-15T16:00:00Z

There shouldn’t be much issue but just in case, can you try using:

yarn build

Also, is this folder in the plugin directory?