Commit 64cacbc5 authored by Hiroki Tagato's avatar Hiroki Tagato
Browse files

security/bitwarden-cli: fix fetch and build

npm version 10 fails with the following error when prefetching node
modules (this only happens with poudriere):

npm ERR! code EEXIST
npm ERR! syscall open
npm ERR! path /wrkdirs/usr/ports/security/bitwarden-cli/work/.npm/_cacache/tmp/e61947a0
npm ERR! errno -17
npm ERR! EEXIST: file already exists, open '/wrkdirs/usr/ports/security/bitwarden-cli/work/.npm/_cacache/tmp/e61947a0'
npm ERR! File exists: /wrkdirs/usr/ports/security/bitwarden-cli/work/.npm/_cacache/tmp/e61947a0
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

As a temporary workaround, install and use npm version 9 for
prefetching node modules.

Reported by:	Miroslav Lachman <000.fbsd@quip.cz> (via private mail)
MFH:		2023Q4
parent bade8088
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment