View Issue Details

IDProjectCategoryView StatusLast Update
0009163Talerwallet-corepublic2024-09-03 13:57
Reporterericherman Assigned ToFlorian Dold  
PrioritylowSeverityminorReproducibilityalways
Status assignedResolutionopen 
Summary0009163: building wallet-core requires root access?
DescriptionThe README clearly states that pnpm is a requirement: https://git.taler.net/wallet-core.git/tree/README#n8

However, in my testing, it seems "make install" does not work with a locally installed `npm install pnpm`, (the PATH includes `./node_modules/.bin`), as it fails with the error:

 $ make install
 pnpm install --frozen-lockfile
 Scope: all 20 workspace projects
  ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
 Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
 make: *** [Makefile:270: install] Error 1
Steps To Reproduce# we do not have pnpm installed globally, no: sudo npm install -g pnpm

mkdir -pv ~/builds/wallet-core

git clone git://git.taler.net/wallet-core.git
cd wallet-core
export PATH=$(pwd)/node_modules/.bin:$PATH
./bootstrap
npm install pnpm
./configure --prefix=~/builds/wallet-core
make install
Additional Information1) It is noteworthy that when a `sudo npm install -g pnpm` is performed, then this error does not occur.

2) Reviewing the Makefile, it seems that `--frozen-lockfile` is a strong requirement (not intended to be over-written).
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-09-03 13:57 ericherman New Issue
2024-09-03 13:57 ericherman Status new => assigned
2024-09-03 13:57 ericherman Assigned To => Florian Dold