Docker compose fail with npm error
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, docker-compose, node.js
- Lĩnh vực
- build-system, devops
Hướng nghiên cứu
Start by reproducing docker compose up on macOS Sonoma and inspect the front-end build step that runs npm install. Compare the failure with the reported npm 10.8.2 environment and determine why the build cannot complete; done means the compose build and startup succeed without the npm error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
running
docker compose up
on MacOS Sonoma 14.7.1
=> ERROR [front-end 4/4] RUN npm install 71.2s
------
> [front-end 4/4] RUN npm install:
71.17 npm error Exit handler never called!
71.17 npm error This is an error with npm itself. Please report this error at:
71.17 npm error <https://github.com/npm/cli/issues>
71.17 npm error A complete log of this run can be found in: /root/.npm/_logs/2025-01-09T20_05_33_024Z-debug-0.log
------
WARN[0001] current commit information was not captured by the build error="failed to read current commit information with git rev-parse --is-inside-work-tree"
failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1
/root directory does not exist.
Searched globally for file 2025-01-09T20_05_33_024Z-debug-0.log and couldn't find it.
Local npm version: 10.8.2
I cleared the npm cache:
npm cache clean --force
Still getting the "npm error Exit handler never called!" error.
- Ngôn ngữ chính
- Python
- Star
- 5.4k
- Fork
- 1.2k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của docker/genai-stack
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
docker/genai-stack#207 ·
-
无法使用浏览器链接neo4j,进行数据库查看Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
docker/genai-stack#205 ·
-
Allow custom embeddings ?Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
docker/genai-stack#203 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
docker/genai-stack#195 · 3 bình luận ·
-
Bot is unresponsiveĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
docker/genai-stack#194 · 1 bình luận ·
Tất cả issue của docker/genai-stack
Issue tương tự
-
enhancement from-review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
khuisman/mcp-gee-sweet#1010 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
open-webui/open-webui#32333 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ll7/robot_sf_ll7#10368 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
mcp: a write that loses its answer is reported as "cannot reach", although it may have landedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
flop-labs/technocore-chat#982 ·
Maintainer thường phản hồi trong vòng 1 ngày