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

[Bug?]: Generate command for Render deployment configuration doesn't work #11826

Closed
1 task
xndyz opened this issue Dec 28, 2024 · 1 comment · Fixed by #11857
Closed
1 task

[Bug?]: Generate command for Render deployment configuration doesn't work #11826

xndyz opened this issue Dec 28, 2024 · 1 comment · Fixed by #11857
Labels
bug/needs-info More information is needed for reproduction

Comments

@xndyz
Copy link

xndyz commented Dec 28, 2024

What's not working?

Try following the docs by running yarn rw setup deploy render, and it will prompt you to provide a workspace, and you'll get this error

rw setup deploy render <side>

Build, migrate, and serve command for
Render deploy

Positionals:
  side  Side to deploy
   [string] [required] [choices: "api",
                                 "web"]

Options:
      --cwd            Working
                       directory to use
                       (where
                       `redwood.toml`
                       is located)
      --load-env-file  Load additional
      s                .env files.
                       Values defined
                       in files
                       specified later
                       override earlier
                       ones.    [array]
      --telemetry      Whether to send
                       anonymous usage
                       telemetry to
                       RedwoodJS
                              [boolean]
      --version        Show version
                       number [boolean]
  -f, --force          Overwrite
                       existing
                       configuration
             [boolean] [default: false]
      --prisma         Apply database
                       migrations
              [boolean] [default: true]
      --data-migrate,  Apply data
      --dm             migrations
              [boolean] [default: true]
  -h, --help           Show help
                              [boolean]

For more commands, options, and
examples, see Redwood CLI Reference
(​https://redwoodjs.com/docs/cli-comman
ds#deploy​)

Not enough non-option arguments: got 0, need at least 1

even after providing a workspace, it doesn't generate any render.yaml files.

How do we reproduce the bug?

Simply follow the docs for generating via yarn rw setup deploy render

What's your environment? (If it applies)

System:
    OS: macOS 15.1.1
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.17.0 - /private/var/folders/rg/_dktrz6s4x5f2mll_rd5f9880000gn/T/xfs-dfaaeaf4/node
    Yarn: 4.4.0 - /private/var/folders/rg/_dktrz6s4x5f2mll_rd5f9880000gn/T/xfs-dfaaeaf4/yarn
  Databases:
    SQLite: 3.43.2 - /usr/bin/sqlite3
  Browsers:
    Safari: 18.1.1
  npmPackages:
    @redwoodjs/auth-dbauth-setup: 8.4.2 => 8.4.2 
    @redwoodjs/cli-data-migrate: ^8.4.2 => 8.4.2 
    @redwoodjs/core: 8.4.2 => 8.4.2 
    @redwoodjs/project-config: 8.4.2 => 8.4.2 
  redwood.toml:
    [web]
      title = "Audiochan"
      port = 8910
      apiUrl = "/.redwood/functions" # You can customize graphql and dbauth urls individually too: see https://redwoodjs.com/docs/app-configuration-redwood-toml#api-paths
      includeEnvironmentVariables = [
        # Add any ENV vars that should be available to the web side to this array
        # See https://redwoodjs.com/docs/environment-variables#web
      ]
    [api]
      port = 8911
    [browser]
      open = true
    [notifications]
      versionUpdates = ["latest"]

Are you interested in working on this?

  • I'm interested in working on this
@xndyz xndyz added the bug/needs-info More information is needed for reproduction label Dec 28, 2024
@Tobbe
Copy link
Member

Tobbe commented Dec 28, 2024

@xndyz Thanks for your issue report. I think I have figured out what was wrong, and fixed it, in #11857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/needs-info More information is needed for reproduction
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants