Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-3873

Cannot contribute the backstage kiali plugin

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Kiali plugin
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Hi there,

      I found this kiali plugin, and when I tried to deploy to my own backstage app, it fails.

      and I soon knew that I should run kiali-backend this together.

      I tried again, and it says:

      "Kiali version supported is v1.85, we found version v1.73"

      When I try to do `yarn start` in the @janus-idp/plugins/kiali-backend, the error occurs again.

      ❯ yarn start
      yarn run v1.22.19
      $ backstage-cli package start
      node:internal/modules/cjs/loader:1080
        throw err;
        ^

      Error: Cannot find module '/Users/jihyeongkim/Projects/backstage-plugins/plugins/kiali-backend/dev/index'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
          at Module._load (node:internal/modules/cjs/loader:922:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
          at node:internal/main/run_main_module:23:47

      {   code: 'MODULE_NOT_FOUND',   requireStack: [] }

      Node.js v18.18.2

      There should be `dev/` files in the `kiali-backend` folder just like `kiali` frontend folder.
      I have a willing to fix the issues, and I need a guidance to run the kiali, kiali-backend modules in development mode.

              agutierr@redhat.com Alberto Jesus Gutierrez Juanes
              cpmadm cloud platform
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: