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

`docker build .` [email protected]: The engine "node" is incompatible with this module

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

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

評価

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

調査の方向性

Dockerfile と失敗した docker build . の出力から始め、特に buffalo build --static と dep ensure -v の手順を確認します。Node エンジンのエラーと報告されている Go 依存関係の制約違反を追跡します。これらのエラーなしで Docker ビルドが正常に完了すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=4 <=9". Got "12.19.0"
error Found incompatible module.

By reverting to a much earlier Docker build, I was able to get closer to a finished build, but the build still crashes...

# Dockerfile
#FROM gobuffalo/buffalo:development as builder¬
FROM gobuffalo/buffalo:v0.14.7 as builder¬

Unfortunately, even after switching to the v0.14.7 Docker image, I get a long list of constraint failures...

Step 9/17 : RUN buffalo build --static -o /bin/app                                                                                               
 ---> Running in 29f08a8ad06d                                                                                                                    
Solving failure: No versions of github.com/gobuffalo/buffalo met constraints:                                                                    
        v0.11.0: Could not introduce github.com/gobuffalo/[email protected], as its subpackage github.com/gobuffalo/buffalo/runtime is missing. (Pa
ckage is required by (root).)                                                                                                                    

The code here was last updated April 19, 2018.
I also found the docker image tagged updater-enhancements was also completed on April 19, 2018, however I still can't get it to build.

Solving failure: No versions of github.com/shurcooL/octicon met constraints:
        master: unable to deduce repository and source type for "dmitri.shuralyov.com/text/kebabcase": unable to read metadata: multiple meta tags match import path "dmitri.shuralyov.com/text/kebabcase"
The command '/bin/sh -c dep ensure -v' returned a non-zero code: 1

I also saw:

(1)     ← backtrack: no more versions of github.com/gobuffalo/buffalo to try
(1)       ? continue github.com/gobuffalo/buffalo with 6 pkgs; 75 more versions to try
(1)         try github.com/gobuffalo/[email protected]
(2)     ✗   github.com/gobuffalo/[email protected] not allowed by constraint ^0.11.0:
(2)         ^0.11.0 from (root)
(1)         try github.com/gobuffalo/[email protected]
(2)     ✗   github.com/gobuffalo/[email protected] not allowed by constraint ^0.11.0:
(2)         ^0.11.0 from (root)
(1)         try github.com/gobuffalo/[email protected]
(2)     ✗   github.com/gobuffalo/[email protected] not allowed by constraint ^0.11.0:
(2)         ^0.11.0 from (root)
(1)         try github.com/gobuffalo/[email protected]
(2)     ✗   github.com/gobuffalo/[email protected] not allowed by constraint ^0.11.0:
(2)         ^0.11.0 from (root)
(1)         try github.com/gobuffalo/[email protected]
(2)     ✗   github.com/gobuffalo/[email protected] not allowed by constraint ^0.11.0:
(2)         ^0.11.0 from (root)
(1)         try github.com/gobuffalo/[email protected]
(2)     ✗   github.com/gobuffalo/[email protected] not allowed by constraint ^0.11.0:
(2)         ^0.11.0 from (root)
(1)         try github.com/gobuffalo/[email protected]

Tried to fix it with a slightly less old Docker image (tagged vgo) but still can't get the build to complete.

主要言語
Go
スター
4
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

似ている issue

Go の issue をもっと見る

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

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