Files are written relative to the path from where I execute the start.js
At the moment I can launch the server only like this:
cd /home/virtuacode/mqp-server/
exec node start.js
I would prefer to launch the server like this:
exec node /home/virtuacode/mqp-server/start.js
Error Log:
2016-04-27 23:18:41.379923500 [2016-04-27 23:18:41] SocketServer (info) Socket server listening on port 63548
2016-04-27 23:18:41.391213500 Webserver listening at :::64606
2016-04-27 23:18:41.454543500 { [Error: ENOENT: no such file or directory, open './webserver/public/lib/js/webconfig.js']
2016-04-27 23:18:41.454547500 errno: -2,
2016-04-27 23:18:41.454548500 code: 'ENOENT',
2016-04-27 23:18:41.454548500 syscall: 'open',
2016-04-27 23:18:41.454549500 path: './webserver/public/lib/js/webconfig.js' }
2016-04-27 23:18:41.455590500 Error: ENOENT: no such file or directory, open './webserver/public/lib/js/webconfig.js'
2016-04-27 23:18:41.455592500 at Error (native)
Files are written relative to the path from where I execute the start.js
At the moment I can launch the server only like this:
I would prefer to launch the server like this:
Error Log: