Getting started cli command doesn't work because of email configuration

Open
#94 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
cli

Research direction

Start with the npx directus-template-cli@latest init entry point and inspect the .env template and email configuration handling. Reproduce the missing SMTP configuration error using the reported v11.9 setup, then verify that initialization works without SMTP configuration when EMAIL_VERIFY_SETUP=false is included or otherwise handled as intended.

Written by the indexing model from the issue text.

Description

Originally posted by https://github.com/db-conception in the Directus repo

Describe the Bug

I got an error indicating that smtp configuration is missing

Image Image Image

May be you should add to .env template : EMAIL_VERIFY_SETUP=false

To Reproduce

npx directus-template-cli@latest init
Same config as my screenshot?

Directus Version

v11.9

Hosting Strategy

Self-Hosted (Docker Image)

Database

No response

Dominant language
TypeScript
Stars
191
Forks
37
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from directus-labs/directus-template-cli

All issues in directus-labs/directus-template-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.