Marton Elek created HDDS-5066:
---------------------------------

             Summary: Use fixed vesion from pnpm to build recon
                 Key: HDDS-5066
                 URL: https://issues.apache.org/jira/browse/HDDS-5066
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Marton Elek
            Assignee: Marton Elek


Recon build is broken since yesterday due to a new [email protected] release

{code}
[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.
{code}

This is because the frontend maven plugin uses 
[npx|https://www.npmjs.com/package/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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to