-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Got this error on first run.
claude-safe
[info] Auto-detected languages: node
[setup] Writing Claude credentials from macOS Keychain → /Users/cwilkins/.claude/.credentials.json
[build] Building Docker image with languages: node...
[+] Building 25.3s (8/14) docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.62kB 0.0s
=> [internal] load metadata for docker.io/library/node:20-slim 1.5s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [ 1/10] FROM docker.io/library/node:20-slim@sha256:6db5e436948af8f0244488a1f658c2c8e55a3ae51ca2e1686ed042be8f25f70a 3.8s
=> => resolve docker.io/library/node:20-slim@sha256:6db5e436948af8f0244488a1f658c2c8e55a3ae51ca2e1686ed042be8f25f70a 0.0s
=> => sha256:a6f75c94eb8e2f57d7a90f158ada372a7fc1ddc0192b05cefaaa71d2ae735bfd 1.71MB / 1.71MB 0.5s
=> => sha256:ea4890bba6a7041634c0a1df5a78035b7b1d9bc92c8ccb6e92087aa202a10e1b 448B / 448B 0.2s
=> => sha256:a537e04f8e8fddba807469ec7339fd354118c0c8d9390ae8233edcfeb8d71443 41.15MB / 41.15MB 3.3s
=> => sha256:d3549eaeba460b0c464835adb90e42e58ae479d72f62a166bd5bed3b71cfd4d2 3.31kB / 3.31kB 0.4s
=> => sha256:9a80f9a055240e1d5ffd4b99717e18b5b3e924369b9155fb0a951a7a94b2c61f 28.08MB / 28.08MB 2.6s
=> => extracting sha256:9a80f9a055240e1d5ffd4b99717e18b5b3e924369b9155fb0a951a7a94b2c61f 0.3s
=> => extracting sha256:d3549eaeba460b0c464835adb90e42e58ae479d72f62a166bd5bed3b71cfd4d2 0.0s
=> => extracting sha256:a537e04f8e8fddba807469ec7339fd354118c0c8d9390ae8233edcfeb8d71443 0.4s
=> => extracting sha256:a6f75c94eb8e2f57d7a90f158ada372a7fc1ddc0192b05cefaaa71d2ae735bfd 0.0s
=> => extracting sha256:ea4890bba6a7041634c0a1df5a78035b7b1d9bc92c8ccb6e92087aa202a10e1b 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 1.38kB 0.0s
=> [ 2/10] RUN apt-get update && apt-get install -y git curl bash gnupg ca-certificates unzip wget ripgrep build-essential jq && apt-get clean && rm -rf /var/lib/apt/lists/* 12.9s
=> [ 3/10] RUN type -p curl >/dev/null || (apt update && apt install curl -y) && curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/us 4.5s
=> ERROR [ 4/10] RUN npm install -g yarn typescript ts-node nodemon 2.6s
------
> [ 4/10] RUN npm install -g yarn typescript ts-node nodemon:
2.567 npm error code EEXIST
2.567 npm error path /usr/local/bin/yarn
2.567 npm error EEXIST: file already exists
2.567 npm error File exists: /usr/local/bin/yarn
2.567 npm error Remove the existing file and try again, or run npm
2.567 npm error with --force to overwrite files recklessly.
2.568 npm notice
2.568 npm notice New major version of npm available! 10.8.2 -> 11.5.2
2.568 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.5.2
2.568 npm notice To update run: npm install -g npm@11.5.2
2.568 npm notice
2.568 npm error A complete log of this run can be found in: /root/.npm/_logs/2025-08-14T21_41_41_618Z-debug-0.log
------
Dockerfile:24
--------------------
22 | # Node.js development (already included in base image)
23 | # Install additional Node.js tools
24 | >>> RUN npm install -g yarn typescript ts-node nodemon
25 |
26 |
--------------------
ERROR: failed to solve: process "/bin/sh -c npm install -g yarn typescript ts-node nodemon" did not complete successfully: exit code: 1
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/8w4wculb03hsd2gxkgfw1lkz5
[cleanup] Removing temp build dir and stopping container (if any)...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels