OpenSwarm
OpenSwarm copied to clipboard
During the installation process, the .env.example file is missing.
npm run service:install
@intrect/[email protected] service:install bash scripts/install-service.sh
Installing OpenSwarm service... Error: .env file not found. cp .env.example .env
@swanmsg Thanks for the report.
Confirmed that .env.example was missing from the repository. .gitignore only excludes .env, so there was no rule preventing .env.example from being tracked — it simply had never been committed.
The next commit will add .env.example with placeholder values only. Keys included:
DISCORD_TOKEN,DISCORD_CHANNEL_ID,DISCORD_WEBHOOK_URL,DISCORD_ALLOWED_USERSLINEAR_API_KEY,LINEAR_TEAM_IDNPM_TOKENS(publish workflow only, optional)OPENAI_CLIENT_ID,OPENSWARM_TASK_STATE_FILE(optional)
Once merged, the install flow works as intended:
cp .env.example .env
# replace the placeholders in .env with real tokens/IDs
cp config.example.yaml config.yaml
npm run service:install
This issue will close automatically when the PR is merged.
Bug fixed.