Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5066

Use fixed vesion from pnpm to build recon

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Target Version/s:

      Description

      Recon build is broken since yesterday due to a new pnpm@6.0.0 release

      [INFO] Running 'npx pnpm config set store-dir ~/.pnpm-store' in /home/elek/projects/ozone/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web
      [INFO] npx: installed 1 in 1.057s
      [INFO] ERROR: This version of pnpm requires at least Node.js v12.17
      [INFO] The current version of Node.js is v12.14.1
      [INFO] Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
      

      This is because the frontend maven plugin uses npx which downloads the required tool (pnpm in our case) on-demand if it's not available locally.

      This download uses the latest version (by default).

      I recommend using a fixed version from pnpm to avoid any unexpected error when external tools is updated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                elek Marton Elek
                Reporter:
                elek Marton Elek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: