old closed issue from "npm/uid-number" (Error: could not get uid/gid)

(Ahmad Nassri) #1

running npm install --global on some some instances of node:alpine docker under circle ci is throwing:

Error: could not get uid/gid
[ 'nobody', 0 ]

this is covered in an old closed issue: https://github.com/npm/uid-number/issues/3

and seems like a few people are bringing this up as well in recent context, with the only resolution is to use:

npm config set unsafe-perm true

Iā€™m wondering if this is an issue that needs to be revisited, or if there are better paths to address this other than overwriting unsafe-perm

(system) closed #2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.