Skip to content
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

Running node ace swagger:generate fails without app env variables #41

Closed
fsevenm opened this issue Mar 2, 2023 · 1 comment
Closed

Comments

@fsevenm
Copy link

fsevenm commented Mar 2, 2023

Prerequisites

Running node ace swagger:generate fails without env variables. The case where we build it in the ci/cd, it's not good to put the app envs there. Furthermore, the node ace build itself can be run successfully without the env variables.

image

Package version

1.4.1

Node.js and npm version

❯ node -v
v16.19.1

❯ npm -v
8.19.3

Sample Code (to reproduce the issue)

BONUS (a sample repo to reproduce the issue)

@VladyslavParashchenko
Copy link
Collaborator

CLI is built on top of adonis ace, this is not package issue. You can disable validation in env.ts file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants