I am trying to install Verdaccio as windows service, following official guide. Before using nssm I manually tried service's command in powershell:
node .\node_modules\verdaccio\build\lib\cli.js -c .\config.yaml
However I get error:
cannot open config file C:\redacted\config.yaml: false
Where C:\redacted\config.yaml
is correctly resolved absolute path of .\config.yaml
.
Error doesn't happen on development Windows 10 machine, only on server with Windows server 2016. .\config.yaml
exists and has permissions set to everything for Everyone
. Running same command in administrator powershell works.