Can you verify that there were no errors/failed npm attempts from nodejs?
cd /usr/local/games/minecraft
rm -rf node_modules
npm install
It’s possible that posix or userid have failed to build. If that’s the case, then the solution is the argument --unsafe-perm.
It could even be authenticate-pam. IIRC that’s the module that might be only used by BSD users, and I am not sure the last time I ran my auth test suites against BSD; I will be looking into this.
Also can try:
cd /usr/local/games/minecraft
npm install -g nodeunit
nodeunit test/test-auth.js
All 16 assertions should pass. I’m going to guess due to my inattention to BSD, compat will show elsewise, though…