404 error using npx grafana-toolkit plugin:create my-plugin command


I’m trying to build a Panel Plugin as suggested in the tutorial from the website: https://grafana.com/tutorials/build-a-panel-plugin/#2

The command npx grafana-toolkit plugin:create my-plugin results in an error:

21 error 404 Not Found - GET https://registry.npmjs.org/grafana-toolkit - Not found
22 error 404
23 error 404 ‘grafana-toolkit@latest’ is not in the npm registry.

How to use this command?


I think this is a typo in the tutorial. We’re looking into it.

Meanwhile try running the command from https://www.npmjs.com/package/@grafana/toolkit

npx @grafana/toolkit plugin:create my-plugin

Thank you, it worked.