Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-5452

Update yarn.lock so Dev Spaces Dashboard can build.

XMLWordPrintable

    • False
    • None
    • False

      Dev Spaces dashboard is currently failing to build in brew.

      jenkins: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/DS_CI/job/get-sources-rhpkg-container-build_3.11/43/
      brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=57879346

      error:

      2024-01-05 17:55:24,276 - atomic_reactor.tasks.binary_container_build - INFO - error Couldn't find package "jsonschema@^1.4.1" required by "@eclipse-che/che-devworkspace-generator@7.78.0" on the "npm" registry.
      2024-01-05 17:55:24,276 - atomic_reactor.tasks.binary_container_build - INFO - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
      2024-01-05 17:55:24,276 - atomic_reactor.tasks.binary_container_build - INFO - 
      2024-01-05 17:55:24,276 - atomic_reactor.tasks.binary_container_build - ERROR - Error: building at STEP "RUN yarn config set nodedir /usr; yarn config set unsafe-perm true && yarn install": while running runtime: exit status 1
      

      This can be solved by regenerating the yarn.lock file so cachito will fetch the correct dependency versions.

      I attempted to do so in a PR but encountered lint errors so this falls to an expert.

              sdawley@redhat.com Samantha Dawley
              sdawley@redhat.com Samantha Dawley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: