You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> @cohere-ai/[email protected] start
> next start
▲ Next.js 14.1.1
- Local: http://localhost:3000
Next.js environment variables: {
NEXT_PUBLIC_API_HOSTNAME: 'http://localhost:8000',
NEXT_PUBLIC_FRONTEND_HOSTNAME: 'http://localhost:4000',
NEXT_PUBLIC_HAS_CUSTOM_LOGO: 'false'
}
[Error: ENOENT: no such file or directory, open '/app/.next/BUILD_ID'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/app/.next/BUILD_ID'
}
Issue 2
These issues seem to be caused by @rodrigue-h's most recent commit #ff80f21, so I reverted that commit and now frontend and backend are both running. However, when entering a message (using cohere), there's an error message "NetworkError when attempting to fetch resource".
Issue 3
Now I decide to give up and directly use docker run -e COHERE_API_KEY='my_cohere_api_key' -p 8000:8000 -p 4000:4000 ghcr.io/cohere-ai/cohere-toolkit:latest, but same error message "NetworkError when attempting to fetch resource". When I look at console logs in my browser, it seems to be caused by CORS errors. Not sure if this is related to #106.
The text was updated successfully, but these errors were encountered:
What is the issue?
Following the instructions of running from source (using
make first-run
), backend fails and frontend keeps restarting.Issue 1
The log in the backend shows:
Which seems to be because --host is passed to gunicorn here https://github.com/cohere-ai/cohere-toolkit/blob/main/src/backend/Dockerfile#L54
The frontend log shows:
Issue 2
These issues seem to be caused by @rodrigue-h's most recent commit #ff80f21, so I reverted that commit and now frontend and backend are both running. However, when entering a message (using cohere), there's an error message "NetworkError when attempting to fetch resource".
Issue 3
Now I decide to give up and directly use
docker run -e COHERE_API_KEY='my_cohere_api_key' -p 8000:8000 -p 4000:4000 ghcr.io/cohere-ai/cohere-toolkit:latest
, but same error message "NetworkError when attempting to fetch resource". When I look at console logs in my browser, it seems to be caused by CORS errors. Not sure if this is related to #106.The text was updated successfully, but these errors were encountered: