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

[analytics-provider-segment] export fails in konflux due to failed compilation

    • RHDH COPE 3286

        =================== start export-dynamic.sh in /var/workdir/source/workspaces/analytics ===================>
        [OFFLINE] Use /var/workdir/source/workspaces/analytics/node_modules/.bin/rhdh-cli
        ========== Exporting frontend plugin plugins/analytics-provider-segment ==========
          > /var/workdir/source/workspaces/analytics/node_modules/.bin/rhdh-cli plugin export
        Error running CLI: Generating standard module federation assets in /var/workdir/source/workspaces/analytics/plugins/analytics-provider-segment/dist
        ⚠️  WARNING: Module federation is experimental and will receive immediate breaking changes in the future.
        Loaded config from app-config.yaml
        [ Module Federation Manifest Plugin ] Manifest will use absolute path resolution via its host at runtime, reason: publicPath='auto'
        [ Module Federation Dev Server ] Federated types created correctly
        
        Error: Failed to compile '../../node_modules/@backstage/frontend-plugin-api/node_modules/@backstage/core-plugin-api/node_modules/zod-to-json-schema/dist/esm/parsers/array.js':
          × Package subpath './v3' is not defined by "exports" in /var/workdir/source/workspaces/analytics/node_modules/zod/package.json
        Plugins with failed exports: plugins/analytics-provider-segment
        FAILED_EXPORTS<<EOF
        plugins/analytics-provider-segment
        EOF
        PUBLISHED_EXPORTS<<EOF
        EOF
        WORKSPACE_SKIPPED_UNCHANGED_SINCE=false
        [ERROR] Non-zero exit code found for /var/workdir/source/build/scripts/export-dynamic.sh. Must exit!
        
        real	0m45.028s
        user	0m46.482s
        sys	0m21.685s
        subprocess exited with status 1
        subprocess exited with status 1
        Error: building at STEP "RUN . /cachi2/cachi2.env &&     export INPUTS_IGNORE_VERSION_CHECK_FLAGS="";     time ./build/scripts/exportPlugin.sh -v 1.10.0 -s /var/workdir/source analytics/plugins/analytics-provider-segment --force --plugin-filter "backstage-community-plugin-analytics-provider-segment"     &&     rm -fr build/ overlay-repo/ .git/ .yarn/": exit status 1
      
      

      https://konflux-ui.apps.stone-prod-p02.hjvn.p1.openshiftapps.com/ns/rhdh-tenant/applications/rhdh-plugin-catalog-1/pipelineruns/bcp-analytics-provider-segment-1-on-push-j4xr8

       

              nickboldt Nick Boldt
              rh-ee-frkong Frank Kong
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: