Getting Error for yarn install on custom Panel plugin

Hi All,

I am trying to develop a panel plugin and am following this documentation:

I have created a panel plugin inside this directory: grafana-8.4.2/public/app/plugins/panel
By running following command:

npx @grafana/toolkit plugin:create my-plugin

On running yarn install inside my-plugin directory I am getting below error:
Usage Error: The project in /opt/grafana-8.4.2/package.json doesn’t seem to have been installed - running an install there might help

Could someone please help me with this?

I have already ran

yarn install --immutable

in source folder and my grafana development setup is up and running.

1 Like