Questions about node-windows, a utility designed to allow running Node.js as a Windows service.
Questions tagged [node-windows]
51 questions
0
votes
0 answers
nodejs windows service shows as running but is not responding
I am using the node-windows module to serve my API as a service on a VM windows server. the service was running fine but after this weekend I had no response from the API and no errors in the app that is calling the API.
When I checked the server…

Morgan Hayes
- 321
- 2
- 25
0
votes
1 answer
Compatibility problem on Windows Server 2019
For two years now, I created a windows service for my node project on a windows server 2008 using node-windows module. Recently we upgrade our version to a Windows Server 2019. I then tried to recreate my service on this new version of Windows…

CamilleChlc
- 91
- 5
0
votes
1 answer
Start nestjs project as a Windows service
We used to start Angular and NestJS (based on node.js) projects using Docker containers. This solution was discontinued for various reasons, so we are looking for a way to start these projects at the start of the PC (or on a trigger) and restart the…

nkoniishvt
- 2,442
- 1
- 14
- 29
0
votes
1 answer
No native build was found for platform=win 32
I am getting the following error in the auto-start(Run entry in Regedit to Auto-Start) App after restarting the app or stop auto-start and started manually then its working file.
Error
No native build was found for platform=win 32
loaded from:…

Abhijit Jagtap
- 2,740
- 2
- 29
- 43
0
votes
1 answer
How to pass the dotenv config path through a Windows service created with node-windows
Windows Server 2008 R2 Enterprise
Node version 12.13.1
node-windows version 1.0.0-beta.5
When I call my node application, instead of using require('dotenv') in code to load the environment variables (e.g. from a default .env file), I need to pass…

greenkarmic
- 429
- 4
- 17
0
votes
1 answer
Trying to run a node server as windows service on azure vm
I have build a node server and have been testing it periodically but running from powershell. Right now I am trying to use node-windows package to run the node server as a service, so that the server runs continuously. I get the following error…

AVS Kasturi Karthik
- 57
- 2
- 8
0
votes
1 answer
Wiki.js not running as a Windows Service
Windows Server 2019 Standard (1809)
Installed Wiki.js with PostgreSQL.
Works great when starting the server manually
node server
Installed node-windows and registered to run Wiki.js as a service. The service fails to start.
wiki.out.log in the…

Valentin Ivanov
- 1
- 1
0
votes
1 answer
node-windows impersonate password issue
I'm running a file watcher app as a windows service (W10) with the following code used to install the service:
var Service = require('node-windows').Service;
const config = require('./SHR_modules/config');
// Create a new service object
var svc =…

Grzesiek My
- 51
- 4
0
votes
0 answers
TypeError: null is not an object (evaluating 'document.querySelector("input[id$='auth_login_submit']").click')
Good Morning,
i have a project on windows 10.
The problem is that if I run it through "npm start" from git bash, I have no problems and it works perfectly.
If it starts from the windows service it returns the error in question.
(It is launched with…

elcid
- 29
- 1
- 8
0
votes
1 answer
NestJS(Node) Project Giving Error on creating new project via NEST CLI
I was following a tutorial to learn NEST JS and NEST CLI is installed successfully, but on creating a project via command nest new project-name it creates a directory with name undefined and then ask for the package manager. After selecting the…

Manoj Sethi
- 1,898
- 8
- 26
- 56
0
votes
1 answer
Windows Node Service not listening on port
I am trying to write a node service that listens on a port and writes to the Event log, but I can't connect when I launch a browser at http://localhost:41414/?x=y Im not getting event records from the listener file (which launches the express…

Rilcon42
- 9,584
- 18
- 83
- 167
0
votes
0 answers
confused about writing script for helloworld.js using node-windows in nodejs
I am using node-windows in nodejs to run my nodejs script as a windows service.
now let's suppose that my helloworld.js code is a simple command which creates a folder on desktop. how do I execute this code ??
because my service app starts…

Nazneen
- 1
- 1
0
votes
1 answer
Restarting a service in node-windows
Using the node-windows package, I am installing a node server locally as a service. Having then an interface to modify the .env file, when I actually modify the configurations of the .env and save the changes, the issue is that the service does not…

minus.273
- 755
- 11
- 24
0
votes
0 answers
Nodejs : Error: %1 is not a valid Win32 application
As i googled, there is don't have answer for below questions, Actually my code was working fine in linux machine. But i got error in windows,
Error: %1 is not a valid Win32 application.
D:\xampp\htdocs\podio>node bin/run …

R.G.Krish
- 487
- 5
- 22
0
votes
0 answers
Erroneous activity in .out log file
I've configured a node runtime as a native service using node-windows on Windows Server 2012. In the .out file inside the daemon folder, I've noticed activity that does not originate from my process (examples below). Has anyone elso using…

Colin Cummings
- 36
- 3