New comment by ashpooljh on void-packages repository https://github.com/void-linux/void-packages/pull/23827#issuecomment-663874573 Comment: Apparently, the issue was connected to the fact that Travis runs builds (or `npm`, at least) as root. By default, `npm` refuses to run as root, so I had to create a patch for `.npmrc` allowing that. Feels like a silly thing to do just to please the CI, and I would love to learn of a better way to circumvent this and make Travis run it as an unprivileged user.