nitrictech / legacy-cli

CLI for the Nitric Framework
Apache License 2.0
6 stars 3 forks source link

Need to create staging/apis directory #164

Closed medgar-nitric closed 2 years ago

medgar-nitric commented 3 years ago

Observed the CLI not creating .nitric/staging/apis directory during run:

medgar@Mal-Laptop2:~/nitric/project-templates/java-service$ nitric-dev run
✔ Building Services
✔ Creating docker network
✔ Creating Volume: example-java-service-vol-551af626
✔ Running Functions & Containers
⚠ Starting API Gateways
  ✖ Creating API Gateways
    › ENOENT: no such file or directory, mkdir '/home/medgar/.nitric/staging/apis'
✔ Starting Entrypoints
 Function Port
 ──────── ─────
 create   40663
 list     39353
 read     45233
 Api     Port
 ─────── ─────
 example 49152
Exiting, please wait... done

Once the directory was created manually worked.

tjholm commented 2 years ago

Duplicate of #157