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

[extensions] compilation failure in extensions (was marketplace) workspace

    • RHDH Plugins 3287

      After switching from "marketplace" to "extensions" and updating to BS 1.45, we have this TSC error:

      plugins/catalog-backend-module-extensions/src/utils/file-utils.test.ts:18:18 - error TS7016: Could not find a declaration file for module 'js-yaml'. '/var/workdir/source/workspaces/extensions/node_modules/js-yaml/index.js' implicitly has an 'any' type.
        Try `npm i --save-dev @types/js-yaml` if it exists or add a new declaration (.d.ts) file containing `declare module 'js-yaml';`
      18 import yaml from 'js-yaml';
                          ~~~~~~~~~
      plugins/catalog-backend-module-extensions/src/utils/file-utils.ts:19:18 - error TS7016: Could not find a declaration file for module 'js-yaml'. '/var/workdir/source/workspaces/extensions/node_modules/js-yaml/index.js' implicitly has an 'any' type.
        Try `npm i --save-dev @types/js-yaml` if it exists or add a new declaration (.d.ts) file containing `declare module 'js-yaml';`
      19 import yaml from 'js-yaml';
      

              rh-ee-pknight Patrick Knight
              nickboldt Nick Boldt
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: