You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2021/04/08 07:34:00 UTC

[jira] [Resolved] (HDDS-5066) Use fixed vesion from pnpm to build recon

     [ https://issues.apache.org/jira/browse/HDDS-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marton Elek resolved HDDS-5066.
-------------------------------
    Fix Version/s: 1.1.0
       Resolution: Fixed

> 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
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.1.0
>
>
> Recon build is broken since yesterday due to a new pnpm@6.0.0 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org