(cli): Do you want to enter environment variables? answer yes, then Something wrong
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
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
│ ◇ 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
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug.
- [x] The provided reproduction is a minimal reproducible example of the bug.
thank you for your reporting!
but i failed reproduce it
System:
OS: macOS 14.6
CPU: (16) arm64 Apple M3 Max
Memory: 3.09 GB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.19.0 - ~/.local/share/mise/installs/node/20.19.0/bin/node
Yarn: 2.4.3 - ~/.local/share/mise/installs/yarn/2.4.3/bin/yarn
npm: 10.8.2 - ~/.local/share/mise/installs/node/20.19.0/bin/npm
pnpm: 9.15.9 - ~/.local/share/mise/installs/pnpm/9.15.9/pnpm
bun: 1.2.5 - ~/.local/share/mise/installs/bun/1.2.5/bin/bun
Watchman: 2025.03.10.00 - /opt/homebrew/bin/watchman
@ryoppippi May I ask if you have any information regarding this?
Hmm @Deb-neal Tell us your OS and environment