It is exactly the same issue as in Issue with non 'username' defined · Issue #2373 · nodejs/node-gyp · GitHub and os.userInfo throws if no username in docker container · Issue #25714 · nodejs/node · GitHub
By using a random user id, node complains at the time of loading os system-related utility methods and properties.
Just to confirm, old way will be totally deprecated/removed, right?
Cheers,
Ismael