Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
62 views

I’m working on a Cordova-Electron project where I need to access the Windows native geolocation API (WinRT) instead of using Google’s geolocation provider. Environment details: Node.js: 18.20.x ...
Annonymous's user avatar
0 votes
1 answer
158 views

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. ...
Atakan Ertürk's user avatar
0 votes
1 answer
948 views

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 ...
CamilleChlc's user avatar
0 votes
1 answer
2k views

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 ...
nkoniishvt's user avatar
  • 2,520
1 vote
1 answer
1k views

I am using node-windows to run my node app as a service. Because I intend to use node-expose-sspi I created a service account with powershell (I checked with Test-ADServiceAccount). If I run this code ...
Fusscreme's user avatar
  • 152
0 votes
1 answer
3k views

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 ...
Abhijit Jagtap's user avatar
0 votes
1 answer
3k views

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 (...
greenkarmic's user avatar
0 votes
1 answer
339 views

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 ...
AVS Kasturi Karthik's user avatar
12 votes
8 answers
24k views

Windows Enterprise 2016 LTSB Version 1607. Installed Wiki.js with PostgreSQL. Has Node.js installed previously (v12.16.2). Got to step 8 of wiki.js installation process using the Powershell: node ...
Felicity's user avatar
  • 121
2 votes
0 answers
390 views

My install service script as below: install_windows_service.js require("dotenv").config(); var Service = require("node-windows").Service; // Create a new service object var svc = ...
Dang Thach Hai's user avatar
1 vote
1 answer
1k views

I'm relatively new to node.js and have built an app that is designed to be deployed as a standalone application without the need to install node.js or any of its dependencies. I'm running into an ...
kiss_my_patch's user avatar
1 vote
0 answers
239 views

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 ...
Mitesh Dube's user avatar
0 votes
1 answer
2k views

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 ...
Valentin Ivanov's user avatar
1 vote
1 answer
418 views

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')....
Sumedh's user avatar
  • 137
3 votes
1 answer
1k views

The service installs but will not start, either straight away or after system reboot, when running the following script from Inno Setup: #define .... #define NODE "node-v12.16.2-x64.msi" ......
BitShift's user avatar
  • 1,067
2 votes
0 answers
400 views

Context: I am developing a node app for Windows 2016 server. The machine I develop on runs Ubuntu 18.04. I would like to make use of the package node-windows, however when I try to install it, I get ...
Bastian Stein's user avatar
0 votes
1 answer
158 views

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/...
Grzesiek My's user avatar
1 vote
1 answer
378 views

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 ...
Dani's user avatar
  • 41
4 votes
2 answers
1k views

I have created windows service from nodeJs application using node-windows package. Below is my code. Main.js var Service = require('node-windows').Service; // Create a new service object var svc = ...
pratRockss's user avatar
0 votes
0 answers
1k views

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 ...
elcid's user avatar
  • 31
0 votes
1 answer
2k views

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 ...
Manoj Sethi's user avatar
  • 2,058
2 votes
1 answer
702 views

I am using pkg to bundle the node application which uses node-windows to run it as a service. But the executable doesn't seam to start the service. I am not getting any error as well. Do we need add ...
AbiSivam's user avatar
  • 439
3 votes
1 answer
872 views

I am trying to install dynamically windows services from my electron app. For that i am using the node module "node-windows". This looks like this: service = new Service({ name: 'Watcher', ...
Tobias's user avatar
  • 1,563
0 votes
1 answer
413 views

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 ...
Rilcon42's user avatar
  • 9,874
2 votes
1 answer
4k views

I have an Vue application created with vue-cli (vue create my_app). It runs normally when I open the terminal, run the command npm run serve and access localhost:8080, but it stopped when I close the ...
Canatto Filipe's user avatar
1 vote
1 answer
2k views

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 ...
bg1's user avatar
  • 54
1 vote
1 answer
97 views

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 ...
user3063909's user avatar
3 votes
1 answer
6k views

I am trying to write a Node app that, once deployed, will log to Windows Event Log. I looked through available packages and was able to successfully use node-windows to write logs to the Windows ...
uabdul's user avatar
  • 31
1 vote
1 answer
1k views

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 ...
Freddy Bonda's user avatar
  • 1,259
2 votes
1 answer
2k views

The script i want to run as a service requires 'start' as parameter. How do i setup the parameter with node-windows? Here the setup js script from the project page: var Service = require('node-...
MiguelSlv's user avatar
  • 15.4k
0 votes
0 answers
39 views

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 ...
Nazneen's user avatar
3 votes
0 answers
355 views

We have a node-windows service that runs our API. Sometimes when I start it, it immediately dies for no apparent reason. I go to restart it and it stops as soon as it starts. No helpful error ...
208_man's user avatar
  • 1,808
4 votes
1 answer
2k views

I can send windows notification from electron using node-notifier notifier.notify({ appName: "myapp", title: 'My notification', message: 'Hello, there!' }); I can run service from ...
Anwar Hossain's user avatar
1 vote
1 answer
7k views

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 ...
208_man's user avatar
  • 1,808
1 vote
1 answer
3k views

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 ...
minus.273's user avatar
  • 787
0 votes
0 answers
2k views

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\...
R.G.Krish's user avatar
  • 507
1 vote
1 answer
119 views

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 ...
Dennis's user avatar
  • 187
0 votes
0 answers
615 views

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 (...
Colin Cummings's user avatar
0 votes
1 answer
163 views

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 ...
Anand Gupta's user avatar
2 votes
1 answer
6k views

I use this plugin to create a windows service: https://github.com/coreybutler/node-windows. I want to start an external program with my service. EDIT 1: var cp = require("child_process"); cp.exec("...
Mr.Orange's user avatar
  • 436
1 vote
1 answer
582 views

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 ...
Nathan Thomas's user avatar
0 votes
1 answer
3k views

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 ...
Shimon Brandsdorfer's user avatar
0 votes
0 answers
160 views

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 = ...
Kyuubi's user avatar
  • 93
0 votes
1 answer
888 views

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"; ...
Astemir Almov's user avatar
0 votes
1 answer
655 views

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 ...
Ben Carroll's user avatar
1 vote
1 answer
711 views

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)....
undefined's user avatar
  • 34.4k