Questions about node-windows, a utility designed to allow running Node.js as a Windows service.
Questions tagged [node-windows]
51 questions
0
votes
1 answer
how we can write node js server logs into a file if using node-windows
I am running by node js server as a windows service using a node module node-windows
I am able to start my server as a service but what if I want to see logs which my node server dumps in frequent intervals.

Anand Gupta
- 366
- 2
- 6
0
votes
1 answer
Node-Windows service starts multiple instances
I'm running some file management tasks through a node script. The node-windows package is included to allow me to run this script as a windows service. I encountered a serious error this morning when I realized that the service had started a…

Nathan Thomas
- 41
- 7
0
votes
1 answer
multer file-upload doesn't work with node-windows
I am trying to upload picture files, using multer.
This is is my code:
router.post('/', function (req, res) {
upload(req, res, function (err) {
if (err) {
// An error occurred when uploading
conole.log(err);
return;
}
// Everything…

Shimon Brandsdorfer
- 1,673
- 9
- 23
0
votes
0 answers
How to combine module 'ffi', 'node-windows' on websocket server in NodeJS
I want to make a websocket server. It can run automatically as a windows service (I use module 'node-windows') and load a file dll (I use module 'ffi').
Here is code in file server.js
var http = require("http");
var ws = require("../../");
…

Kyuubi
- 93
- 1
- 8
0
votes
1 answer
node-windows absolute paths
When I run my node.js application as Windows Service using node-windows I have the problem. My appliction can't read files with absolute paths like
var filePath = "C:\\someFolder\\someFile.json";
When I run my node.js application from console…

Astemir Almov
- 396
- 2
- 16
0
votes
1 answer
Sending command-line parameters when using node-windows to create a service
I've built some custom middleware on Node.js for a client which runs great in user space, but I want to make it a service.
I've accomplished this using node-windows, which works great, but the client has occasional large bursts of data so I'd like…

Ben Carroll
- 138
- 2
- 11