No Registration Screen
On first startup, I'm unable to get past the login screen.
% npm run dev
> [email protected] dev
> concurrently --kill-others "npm run server" "npm run client"
[1]
[1] > [email protected] client
[1] > vite --host
[1]
[0]
[0] > [email protected] server
[0] > node server/index.js
[0]
[0] Connected to SQLite database
[1]
[1] VITE v7.0.4 ready in 138 ms
[1]
[1] ➜ Local: http://localhost:3001/
[1] ➜ Network: http://192.168.0.130:3001/
[0] No .env file found or error reading it: ENOENT: no such file or directory, open '/Users/zain/git/claudecodeui/.env'
[0] PORT from env: undefined
[0] Database initialized successfully
[0] ✅ Database initialization skipped (testing)
[0] Claude Code UI server running on http://0.0.0.0:3000
[1] 9:36:48 AM [vite] http proxy error: /api/auth/status
[1] AggregateError [ECONNREFUSED]:
[1] at internalConnectMultiple (node:net:1139:18)
[1] at afterConnectMultiple (node:net:1714:7)
+1
Try deleting the database from server/database/auth.db and it should show up again. If not can you please let me know a few more info about your setup?
Faced same issue here. In my case, there's a process hold on port 3001 so that Claude Code UI API can not receive the request correctly. So close the process and restart the server works for me.
+1 - OOB experience on both on my Mac and Windows environments.
Hi @viper151 , where do we find server/database/auth.db ? I installed claude-code-ui using npm install -g @siteboon/claude-code-ui (I believe). Then, I run claude-code-ui in different directories depending on the use case. In none of those directories do I see any server or .env being created. It would be good if the claude-code-ui command would print out where it's storing credentials, or if it got the credentials from environment variables.
@kovkev thanky ou for the comment. I'm deploying #221 which will fix that.