'Nodejs running as a service with nssm in windows can't access a network drive
I have a nodejs program that accesses files via fs in a network drive. When I run this program from the console everything goes fine. When the same program runs as a service wrapped with nssm (https://nssm.cc/) it returns an error "ENOENT: no such file or directory, scandir". I've try different solutions, including running the service as an administrator user with all permissions, but the error continues. Any help would be appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
