Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

TypeError: uid must be an unsigned int #4080

@prekoc

Description

@prekoc

I am using ubuntu and get this error when I try to install some js dependencies using npm. Searching for fies i've came across some other ppl having the same error but using node v. 10.14 and say it was fixed in 10.15.. I have node 10.21 installed and get the error.. Any help is appreciated


66 error TypeError: uid must be an unsigned int
66 error     at Object.fs.chown (fs.js:853:11)
66 error     at Object.chown (/usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:131:17)
66 error     at /usr/lib/node_modules/npm/node_modules/chownr/chownr.js:12:43
66 error     at ReaddirReq.Req.done (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:142:5)
66 error     at ReaddirReq.done (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:89:22)
66 error     at Object.oncomplete (fs.js:107:15)
67 error If you need help, you may report this log at:
67 error     <http://github.com/isaacs/npm/issues>
67 error or email it to:
67 error     <[email protected]>
68 error System Linux 3.2.0-55-generic
69 error command "/usr/bin/node" "/usr/bin/npm" "install"
70 error cwd /var/www/laravel/public
71 error node -v v0.10.21
72 error npm -v 1.3.11
73 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions