nats-io / natscli

The NATS Command Line Interface
Apache License 2.0
510 stars 99 forks source link

nats server generate fails to find template files on Windows #1153

Closed roeschter closed 2 months ago

roeschter commented 2 months ago

Observed behavior

On Windows using self built from main

$ nats server generate test.config .... [LOCAL] ? Select a template 'nats auth' managed NATS Server configuration nats: error: open store\operator: file does not exist

Same error for other templates

Expected behavior

Should find the template files - seems to work on Linux

Server and client version

Self built from main

Host environment

Windows 11

Steps to reproduce

  1. nats server generate test.config
  2. select any template