Questions about node-windows, a utility designed to allow running Node.js as a Windows service.
Questions tagged [node-windows]
51 questions
1
vote
0 answers
Node JS application service stopped running on system restart on Windows 10.How I can solve this issue?
I am using windows service for running my nodejs application on system restart. But my application is not running, whenever I checked in services it's showing blank in status bar and I have already selected Startup Type as Automatic. I also checked…

Mitesh Dube
- 41
- 4
1
vote
1 answer
Service not getting installed using node-windows
I tried using node-windows to create a service > "daemon" folder was getting created but service was not getting installed. Following is the code :
var Service = require('node-windows').Service;
var svc = new Service({
name: 'MyService',
…

Sumedh
- 137
- 6
1
vote
1 answer
Dependencies for node-windows services
I'm wondering how to define dependencies (other non node-windows nor node.js windows services).
In the code of winsw (HERE) I've found out it should be possible.
For me it seems to be a "issue" in node-windows as winsw can do it by adding following…

Dani
- 41
- 4
1
vote
1 answer
cannot start service from the command line or a debugger. a windows service must first be installed Nodejs
i am creating a windows service that adds some data randomly to a database , so i used node-windows to implement it and when i run the file it creates an executable file and when i run that file i get "cannot start service from the command line or a…

bg1
- 54
- 8
1
vote
1 answer
Cannot find property 'svc' when using promisify
I am trying to write an application that it will run as a Windows Service. For this, I have used the node-windows package.
The application will print a simple message every second when started (at least for now) - used tasktimer for defying the…

user3063909
- 363
- 3
- 16
1
vote
1 answer
Enable windows service to use command line
I have written a simple service which is now active on my windows services. My problem is that I cannot access the cmd through the windows services. I am using nodejs express for my service, node-cmd for the cmd access & node-windows to create the…

Freddy Bonda
- 1,189
- 6
- 15
- 33
1
vote
1 answer
Created a windows service to run my node app, but service stops running a few seconds after starting
There's already a thread on this subject (here), but it doesn't answer my situation (most of the answers make suggestions for alternatives to node-windows instead of addressing why the service it creates stops running).
Like the title says, I…

208_man
- 1,440
- 3
- 28
- 59
1
vote
1 answer
Electron Atom - Module "Node-Windows" not found after compiling
After hours of searching and still not finding a usefull answer, I hope somebody could help me with following issue that I'm facing:
I inclued to my Electron APP a module called "node-windows" so I could register a script as a service to a windows…

Dennis
- 187
- 8
1
vote
1 answer
Hubot windows service
I would like to wrap my Hubot in a windows service to deploy it.
I am using node-windows to do this but I'm having some trouble trying to get it to run a coffee-script file (which is what hubot uses).
If i manually run
> coffee…

undefined
- 33,537
- 22
- 129
- 198
0
votes
0 answers
NodeJS app as windows service packed in .exe
I'm creating NodeJS application which will be ran as windows service. Whole app should be packed as .exe so it can be ran on windows.
Let's take node-windows package that I'm using and create basic example (service.js)
var Service =…

Kevin Bogdan
- 51
- 4
0
votes
1 answer
How can I run node-windows module
I have node js project and ı want the convert windows service and
I want it to start automatically.my code turns into windows service, but the requests I make do not come without running the program.
var Service =…

Atakan Ertürk
- 5
- 3
0
votes
0 answers
node-linux not installing service: template_not_in_cache
I'm developing a cross platform CLI service manager like PM2 using node-windows and node-linux. It's fine using node-windows, it's working perfectly, but with node-linux 'm getting some strange errors.
Just to make it clear, I need to run a…

Eliel
- 13
- 3
0
votes
0 answers
Can node-windows.js library create service on pc with no node.js?
For example, I start node-windows utility through electron, node.js is not install on PC. What happend in this case?

40Oleg
- 13
- 1
0
votes
0 answers
Using "node-windows" (coreybutler) How to check if nodejs app running as Windows service is stopped
I am using "node-windows" (coreybutler) as per the documented outline - here
It works well.
svc.exists will tell us if the service is added to the Windows OS services or not,
for example;
var svc: Service;
...
var isServiceInstalled =…

Felix
- 1,662
- 2
- 18
- 37
0
votes
0 answers
can you map windows-network-drive from windows service?
I am using the NPM package windows-network-drive to map a network drive to my windows system. Normally I would pass in undefined for the username and password because I do not need to use different credentials, but when I do this in a windows…

Samuel Liebert
- 105
- 6