Skip to content

(cli): Do you want to enter environment variables? answer yes, then Something wrong #438

@Deb-neal

Description

@Deb-neal

agentica version

0.25.0

What platform is your computer? Copy the output of npx envinfo --system -npmPackages cleye --binaries

System: OS: macOS 13.4 CPU: (8) arm64 Apple M2 Memory: 93.00 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.18.1 - /opt/homebrew/opt/node@20/bin/node npm: 10.8.2 - /opt/homebrew/opt/node@20/bin/npm pnpm: 9.15.4 - /opt/homebrew/bin/pnpm

Describe the bug

Image

Image

Image

I cloned Agentica and ran the command using npx agentica start.
I selected the following in order:

pnpm
nestjs + react
server port: 3000
In the connectors section, I pressed a to select all.
In the environment section, instead of skipping, I chose "input" and continuously pressed Enter to leave all values as undefined.
(My intention was to enter environment variables, but since my goal was to just try generating the project first, I changed my mind and left them all as undefined.)

After a short wait, I received a message saying "Something went wrong", and the process ended.
I'm not sure what the issue is. I'm reporting this as a potential edge case bug in case it's helpful.

Reproduction

┌ 🚀 Agentica Setup Wizard
┌ Agentica Start Wizard

◇ Enter the project directory path:
│ ./agentica-project

◇ Which package manager do you want to use?
│ pnpm

● 📦 Using pnpm as package manager

◇ Which project type do you want to start?
│ NestJS + React Agent Server + Client Application

◇ Server Port(if project is client app, this port mean ws server port):
│ 3000

◇ Which connectors do you want to include? (Press to select, to select all, to proceed)
│ ARXIV SEARCH, AWS S3, CALENDLY, CAREER, CSV, DALL E-3, DAUM BLOG, DAUM CAFE, DISCORD, EXCEL, FIGMA, GITHUB, GMAIL, GOOGLE ADS, GOOGLE CALENDAR, GOOGLE DOCS, GOOGLE DRIVE, GOOGLE FLIGHT,
GOOGLE HOTEL, GOOGLE IMAGE, GOOGLE MAP, GOOGLE SCHOLAR, GOOGLE SEARCH, GOOGLE SHEET, GOOGLE SHOPPING, GOOGLE SLIDES, GOOGLE TREND, HANCELL, IMWEB, JIRA, KAKAO MAP, KAKAO NAVI, KAKAO TALK,
KOREA EXIMBANK, MARP, NAVER BLOG, NAVER CAFE, NAVER NEWS, NOTION, REDDIT, SHORT IO, SLACK, SORT, STABLE DIFFUSION-BETA, SWEET TRACKER, TYPEFORM, WEB CRAWLER, X, YOUTUBE OFFICIAL-SEARCH,
YOUTUBE SEARCH, YOUTUBE TRANSCRIPT, ZOOM

◇ Do you want to enter environment variables? (Number of environment variables to enter: 59)
If you press <ctrl+c>, you can skip this step.
│ Yes

◇ AWS_ACCESS_KEY_ID:
│ undefined

◇ AWS_SECRET_ACCESS_KEY:
│ undefined

◇ AWS_S3_BUCKET:
│ undefined

◇ AWS_S3_REGION:
│ undefined

◇ CALENDLY_CLIENT_ID:
│ undefined

◇ CALENDLY_CLIENT_SECRET:
│ undefined

◇ CALENDLY_REFRESH_TOKEN:
│ undefined

◇ DAUM_API_KEY:
│ undefined

◇ DISCORD_TOKEN:
│ undefined

◇ FIGMA_CLIENT_ID:
│ undefined

◇ FIGMA_CLIENT_SECRET:
│ undefined

◇ FIGMA_REFRESH_TOKEN:
│ undefined

◇ GITHUB_ACCESS_TOKEN:
│ undefined

◇ GOOGLE_CLIENT_ID:
│ undefined

◇ GOOGLE_CLIENT_SECRET:
│ undefined

◇ GOOGLE_REFRESH_TOKEN:
│ undefined

◇ GOOGLE_ADS_PARENT_SECRET:
│ undefined

◇ GOOGLE_ADS_ACCOUNT_ID:
│ undefined

◇ GOOGLE_ADS_DEVELOPER_TOKEN:
│ undefined


◇ SERP_API_KEY:
│ undefined

◇ GOOGLE_API_KEY:
│ undefined

◇ IMWEB_API_KEY:
│ undefined


◇ IMWEB_SECRET_KEY:
│ undefined

◇ JIRA_CLIENT_ID:
│ undefined

◇ JIRA_CLIENT_SECRET:
│ undefined

◇ JIRA_REDIRECT_URI:
│ undefined

◇ JIRA_REFRESH_TOKEN:
│ undefined

◇ KAKAO_MAP_CLIENT_ID:
│ undefined

◇ KAKAO_NAVI_CLIENT_ID:
│ undefined

◇ KAKAO_TALK_CLIENT_ID:
│ undefined

◇ KAKAO_TALK_CLIENT_SECRET:
│ undefined

◇ KAKAO_TALK_REFRESH_TOKEN:
│ undefined

◇ NAVER_BLOG_CLIENT_ID:
│ undefined

◇ NAVER_BLOG_CLIENT_SECRET:
│ undefined

◇ NAVER_CAFE_CLIENT_ID:
│ undefined

◇ NAVER_CAFE_CLIENT_SECRET:
│ undefined

◇ NAVER_NEWS_CLIENT_ID:
│ undefined

◇ NAVER_NEWS_CLIENT_SECRET:
│ undefined

◇ NOTION_API_KEY:
│ undefined

◇ REDDIT_REFRESH_TOKEN:
│ undefined

◇ REDDIT_CLIENT_ID:
│ undefined

◇ REDDIT_CLIENT_SECRET:
│ undefined

◇ SHORT_IO_API_KEY:
│ undefined

◇ SLACK_TOKEN:
│ undefined

◇ STABLE_DIFFUSION_ENGINE_ID:
│ undefined

◇ STABLE_DIFFUSION_HOST:
│ undefined

◇ STABLE_DIFFUSION_API_KEY:
│ undefined

◇ STABLE_DIFFUSION_DEFAULT_STEP:
│ undefined

◇ STABLE_DIFFUSION_CFG_SCALE:
│ undefined

◇ SWEET_TRACKER_API_KEY:
│ undefined

◇ TYPEFORM_CLIENT_ID:
│ undefined

◇ TYPEFORM_CLIENT_SECRET:
│ undefined

◇ TYPEFORM_REFRESH_TOKEN:
│ undefined

◇ ZENROWS_API_KEY:
│ undefined

◇ X_CLIENT_ID:
│ undefined

◇ X_CLIENT_SECRET:
│ undefined

◇ X_BEARER_TOKEN:
│ undefined

◇ SEARCH_API_KEY:
│ undefined

◇ ZOOM_SECRET_KEY:
│ undefined

◇ Enter your OpenAI API key?
│ No


◆ ✅ Template downloaded

◆ ✅ .env created

▲ Something went wrong

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions