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

[overlays] tsc error building backstage/backstage workspace

XMLWordPrintable

      Description of problem:

      [DEBUG] [workspaces/backstage] yarn tsc
      real	0m17.039s
      user	0m25.092s
      sys	0m1.825s
      error TS2688: Cannot find type definition file for 'jest'.
        The file is in the program because:
          Entry point of type library 'jest' specified in compilerOptions
      error TS2688: Cannot find type definition file for 'node'.
        The file is in the program because:
          Entry point of type library 'node' specified in compilerOptions
      error TS2688: Cannot find type definition file for 'webpack-env'.
        The file is in the program because:
          Entry point of type library 'webpack-env' specified in compilerOptions
      error TS6053: File '/builds/rhidp/rhdh-plugin-catalog/workspaces/azure-devops/node_modules/@backstage/cli/asset-types/asset-types.d.ts' not found.
        The file is in the program because:
          Part of 'files' list in tsconfig.json
        tsconfig.json:9:13
          9   "files": ["node_modules/@backstage/cli/asset-types/asset-types.d.ts"],
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          File is matched by 'files' list specified here.
      Found 4 errors.
      [ERROR] yarn tsc failed!
      

      https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog/-/jobs/42194928

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              RHIDP - Cope
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: