-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service created BUT NOT RUNNING #339
Comments
Do you have another web server running on the same port when you try to start this? That would cause this. |
Nope, |
When I uninstall the service, |
Sorry for trailing off. I get hundreds of messages a day and this just fell off my radar. As previously stated, if there is another web server running on the same port (doesn't have to be node... could be anything), it could cause the script to crash. If there is a firewall preventing the hello world script from launching the web server on the specified port, the script will crash. See https://github.com/coreybutler/node-windows/wiki If the uninstall doesn't actually remove the service, then I suspect the user account used to do the uninstall doesn't have permissions to remove the service. |
I have been trouble shooting the same error codes on my system. It turned out to be some missing modules in the package-lock.json or package.json file. When I checked the error logs under the daemon folder, it showed a "MODULE_NOT_FOUND" error. I ended up deleting those two json files and recreating it and the 1067 error went away. I was migrating from a Linux WSL virtual machine to deploy on a windows server, so some of the missing packages may have been during development. Maybe that would help someone else if its the same cause. |
Issue:
Used exact same code provided.
When I run the file, it does create the service but the service is not running. I can not manually even turn it on from GUI.
See the error below.
The text was updated successfully, but these errors were encountered: