Docker compose fail with npm error
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- docker, docker-compose, node.js
- 領域
- build-system, devops
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 5.4k
- フォーク
- 1.2k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/genai-stack のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
docker/genai-stack#207 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
docker/genai-stack#205 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
docker/genai-stack#203 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
docker/genai-stack#195 · コメント 3 件 ·
-
Bot is unresponsiveオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
docker/genai-stack#194 · コメント 1 件 ·
docker/genai-stack の issue をすべて見る
似ている issue
-
Atomic append fails to create a missing file対応中かも @harbinresearcher が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
fabiocaccamo/python-fsutil#201 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
danparshall/claude_researcher#87 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
GhostManager/Ghostwriter#998 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
datajoint/datajoint-python#1586 ·
メンテナーはふだん 1 日以内に返信