Closed lekhmanrus closed 4 years ago
Have you checked https://github.com/coreybutler/node-windows/wiki#my-script-installs-but-wont-start-with-no-error?
Also, I wonder how your install code looks, mostly because of this: --stopparentfirst undefined
.
Hi @coreybutler ,
Yes, I've checked Wiki.
Steps to reproduce:
git clone https://github.com/coreybutler/node-windows.git
cd node-windows && npm i
example/install.js
node .\example\install.js
helloworld.js
is not triggering at all.@coreybutler, I'm sorry. I've restarted my machine and tried it again - it works now. I have no idea what was the issue. Sorry for wasting your time.
The issue I'm facing with, script is not starting at all. I've even tried example from this repo. I've tried to run it with and without Administrator rights.
Windows Events Log:
Child process [22276 - C:\Program Files\nodejs\node.exe --harmony C:\github\node-windows\lib\wrapper.js --file C:\github\node-windows\example\helloworld.js --scriptoptions= --log "Hello World wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined] finished with -1073741502