internal/child_process.js:323
throw errnoException(err, ‘spawn’);
^
Error: spawn EPERM
at _errnoException (util.js:1022:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:502:9)
at /usr/games/minecraft/mineos.js:825:34
at fn (/usr/games/minecraft/node_modules/async/lib/async.js:746:34)
at /usr/games/minecraft/node_modules/async/lib/async.js:1213:16
at /usr/games/minecraft/node_modules/async/lib/async.js:166:37
at /usr/games/minecraft/node_modules/async/lib/async.js:706:43
at /usr/games/minecraft/node_modules/async/lib/async.js:167:37
at /usr/games/minecraft/node_modules/async/lib/async.js:1209:30
I’ve tried to run it as a root and it works. But i need to run it with non root user. And all the server files are owned by the user I’m trying to run it as.
Are you changing what you’re actually typing? It becomes increasingly difficult to troubleshoot issues on your machine when you share different things than what you’re doing.
I would recommend running that chown as root to change ownership to your non root user and group, and then try it again without root (you’ve not indicated whether you’ve run that as root or not)