claudecodeui icon indicating copy to clipboard operation
claudecodeui copied to clipboard

env.example is missing

Open MiwiDots opened this issue 1 year ago • 3 comments

as the title says :)

MiwiDots avatar Jul 01 '25 02:07 MiwiDots

It's not really needed actually. There is nothing to configure at the moment if I'm not mistaken.

viper151 avatar Jul 02 '25 13:07 viper151

Well npm run dev gives those errors,

[0] No .env file found or error reading it: ENOENT: no such file or directory, open '/Users/miwi/dev/build/claudecodeui/.env' [0] PORT from env: undefined

when u open the browser u get this:

Error: ENOENT: no such file or directory, stat '/Users/miwi/dev/build/claudecodeui/dist/index.html' [0] Error: ENOENT: no such file or directory, stat '/Users/miwi/dev/build/claudecodeui/dist/index.html' [1] 9:38:20 PM [vite] http proxy error: /api/projects [1] AggregateError [ECONNREFUSED]: [1] at internalConnectMultiple (node:net:1134:18) [1] at afterConnectMultiple (node:net:1715:7) [1] 9:38:20 PM [vite] http proxy error: /api/config [1] AggregateError [ECONNREFUSED]: [1] at internalConnectMultiple (node:net:1134:18) [1] at afterConnectMultiple (node:net:1715:7) [1] 9:38:20 PM [vite] http proxy error: /api/projects [1] AggregateError [ECONNREFUSED]: [1] at internalConnectMultiple (node:net:1134:18) [1] at afterConnectMultiple (node:net:1715:7) [1] 9:38:20 PM [vite] http proxy error: /api/config [1] AggregateError [ECONNREFUSED]:

MiwiDots avatar Jul 02 '25 13:07 MiwiDots

@miwi-fbsd Ive now added the ports as an option and .env.example is now available

Also did you try to do run build? I didn't try that so far and have only been running it with npm run dev

viper151 avatar Jul 04 '25 19:07 viper151