Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-1518

[janus-idp/backstage-plugins] yarn tsc failure for @janus-idp/backstage-scaffolder-backend-module-regex/alpha

XMLWordPrintable

      [2347036772] Upstream Reporter: nia-potato
      Upstream issue status: Closed
      Upstream description:

      Describe the bug

      when running yarn tsc for the regex plugin, i am getting this error

       Could not find a declaration file for module '@janus-idp/backstage-scaffolder-backend-module-regex/alpha'. 'backstage/src/node_modules/@janus-idp/backstage-scaffolder-backend-module-regex/dist/alpha.cjs.js' implicitly has an 'any' type.
        Try `npm i --save-dev @types/janus-idp__backstage-scaffolder-backend-module-regex` if it exists or add a new declaration (.d.ts) file containing `declare module '@janus-idp/backstage-scaffolder-backend-module-regex/alpha';`
      
      191   import('@janus-idp/backstage-scaffolder-backend-module-regex/alpha'),
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      Expected Behavior

      yarn tsc should complete with no issues.


      Upstream URL: https://github.com/janus-idp/backstage-plugins/issues/1808

              dfestal David Festal
              upstream-sync Upstream Sync
              RHIDP - Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: