Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Docker compose fail with npm error

オープン
#191 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, docker-compose, node.js

調査の方向性

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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

docker/genai-stack のほかの issue

docker/genai-stack の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。