I cant update mineos on Freenas to work with Minecraft 1.12.2

This error shows that the userid module isn’t being built. You can verify this by going to any non-mineos directory, such as your users’ home directory and typing npm install userid.

If this doesn’t build (and it probably won’t), it points to:

  1. a userid bug (less likely)
  2. a package compatibility issue with the version of nodejs you’re using (more likely).

You’re using node v0.10.31, which is a PRE-RELEASE version of NodejS, dating back to Jan 26, 2015.

I recommend you update to Node v8.x.y.