I think something like this is necessary (although I do not have Linux).
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
npm i -g socketio
Download the sources with https://github.com/JerryWm/Stratum-Proxy-XMR (there is a green button Clone or download)
Create a sh file in the src folder
node ./app/
module.js:557
throw err;
^
Error: Cannot find module './paths'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object.(/home/ubuntu/Stratum-Proxy-XMR-master/src/app/main.js:4:15)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
i get this error..
i will try in dif linux os
OK. In the app/main.js file, modify
const Paths = require('./paths');
const Paths = require('./Paths');