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

Hi,

I’m trying to build a Panel Plugin as suggested in the tutorial from the website: Build a panel plugin | Grafana Plugin Tools

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?

Hi!

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.

I am also facing the same issue,
when I try to install by npm.

> npm I @grafana/toolkit
> npm ERR! code E404
> npm ERR! 404 Not Found - GET https://registry.npmjs.org/@grafana/toolkit/-/toolkit-8.2.1.tgz
**> npm ERR! 404 **
> npm ERR! 404 ‘@grafana/toolkit@latest’ is not in the npm registry.
> npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
**> npm ERR! 404 **
> npm ERR! 404 Note that you can also install from an
> npm ERR! 404 tarball, folder, HTTP URL, or git URL.
**> **
> npm ERR! A complete log of this run can be found in:
> npm ERR! /home/karthik/.npm/_logs/2021-10-13T06_40_46_360Z-debug.log

grafana V8.1.2
node V12
npm V6

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.