-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Description
I am on Windows 11 with docker desktop installed and was able to start Codel with:
docker run -e OPEN_AI_KEY=sk-proj...... -e OPEN_AI_MODEL=gpt-4o-mini -e OLLAMA_MODEL=llama2 -p 3000:8080 -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/semanser/codel:latest
When I gave it a prompt regarding reactjs app project, it gave:
$ mkdir AI-Tips && cd AI-Tips && npx create-react-app .
sh: 1: npx: not found
$ apt install -y npm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package npm
$ apt install -y nodejs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package nodejs
I have also hyper and WSL setup with Ubuntu 22.04. I am new to docker and stuff, maybe I am missing something?
Here are logs:
[GIN] 2024/07/25 - 14:04:01 | 200 | 55.924683ms | 172.17.0.1 | POST "/graphql"
2024/07/25 14:04:03 Spawning container tauri-apps/tauri:latest "codel-terminal-2"
2024/07/25 14:04:03 Image tauri-apps/tauri:latest found locally: false
2024/07/25 14:04:03 Pulling image tauri-apps/tauri:latest...
2024/07/25 14:04:05 Error pulling image: Error response from daemon: pull access denied for tauri-apps/tauri, repository does not exist or may require 'docker login'. Using default image debian:latest
2024/07/25 14:04:05 Creating container codel-terminal-2...
2024/07/25 14:04:06 Container codel-terminal-2 created
2024/07/25 14:04:06 Container codel-terminal-2 started
2024/07/25 14:04:06 Getting next task
2024/07/25 14:04:08 Command 9 added to the queue 2
2024/07/25 14:04:08 Waiting for a task
2024/07/25 14:04:08 Processing command 9 of type ask
2024/07/25 14:04:08 Waiting for a task
2024/07/25 14:04:44 Command 10 added to the queue 2
2024/07/25 14:04:44 Processing command 10 of type input
[GIN] 2024/07/25 - 14:04:44 | 200 | 9.06449ms | 172.17.0.1 | POST "/graphql"
2024/07/25 14:04:44 Getting next task
2024/07/25 14:04:46 Command 11 added to the queue 2
2024/07/25 14:04:46 Waiting for a task
2024/07/25 14:04:46 Processing command 11 of type terminal
2024/07/25 14:04:46 Getting next task
2024/07/25 14:04:50 Command 12 added to the queue 2
2024/07/25 14:04:50 Waiting for a task
2024/07/25 14:04:50 Processing command 12 of type terminal
2024/07/25 14:04:50 Getting next task
2024/07/25 14:04:51 Command 13 added to the queue 2
2024/07/25 14:04:51 Waiting for a task
2024/07/25 14:04:51 Processing command 13 of type terminal
2024/07/25 14:04:51 Getting next task
2024/07/25 14:04:53 Command 14 added to the queue 2
2024/07/25 14:04:53 Waiting for a task
2024/07/25 14:04:53 Processing command 14 of type browser
2024/07/25 14:04:53 Trying to get content from https://nodejs.org/en/download/
2024/07/25 14:04:53 failed to process browser: failed to get content: error loading page: error resolving url: Get "http://127.0.0.1:9222/json/version": dial tcp 127.0.0.1:9222: connect: connection refused
2024/07/25 14:04:53 Waiting for a task
Please help.
Metadata
Metadata
Assignees
Labels
No labels
