Build Error at npx pnpm@7.0.0 install step

OS Details: WSL ubuntu 20.04

mvn clean install -DskipTests -Dspotless.check.skip=true -Dlicense.skip=true -U -X

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:npx (pnpm install) on project dremio-ui-lib: Failed to run task: ‘npx pnpm@7.0.0 install --frozen-lockfile --prefer-offline --reporter=silent’ failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) → [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:npx (pnpm install) on project dremio-ui-lib: Failed to run task