Skip to content
This repository was archived by the owner on Jun 5, 2026. It is now read-only.
This repository was archived by the owner on Jun 5, 2026. It is now read-only.

How to build grafana-simple-apps #1

Description

@Jayce-DevLane

Hello.

I tried build grafana-app-plugin but a problem has arisen..

I don't know reason. Judging from the code, I think it's right.

I use this commands
yarn install
yarn dev

[tsl] ERROR in C:\Source\simple-app-plugin\src\module.ts(9,3)
TS2322: Type 'typeof ExamplePage2' is not assignable to type 'ComponentClass<PluginConfigPageProps<GrafanaPlugin<PluginMeta<KeyValue>>>, any>'.
Types of parameters 'props' and 'props' are incompatible.
Type 'PluginConfigPageProps<GrafanaPlugin<PluginMeta<KeyValue>>>' is not assignable to type 'Props'.
Types of property 'plugin' are incompatible.
Type 'GrafanaPlugin<PluginMeta<KeyValue>>' is missing the following properties from type 'AppPlugin': init, setRootPage, setComponentsFromLegacyExports

I would appreciate your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions