Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ページが正常に表示されない #1

Closed
Hiro527 opened this issue Jun 22, 2024 · 0 comments · Fixed by #2
Closed

ページが正常に表示されない #1

Hiro527 opened this issue Jun 22, 2024 · 0 comments · Fixed by #2
Assignees

Comments

@Hiro527
Copy link

Hiro527 commented Jun 22, 2024

発生している問題

http://localhost:3000にアクセスしても、Next.jsのエラーページが表示される。

image

ログ

- error Error: connect ECONNREFUSED 127.0.0.1:41957
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 41957
}

再現方法

  1. リポジトリの「実行方法」に書かれている通りにコンテナを起動する
  2. APIコンテナでmake init、FRONTENDコンテナでnpm run devを実行する
  3. http://localhost:3000にアクセスする

追記

  • FRONTENDコンテナではnpm iを実行して手動でパッケージをインストールしています。
  • また、Dockerのログには、APIコンテナとFRONTENDコンテナが立ち上がった後にGoやNode.jsのサービスが自動で起動している様子がありませんでした。

環境

  • Ryzen 5 3600 / RAM 32GB
  • Windows 11 64bit 最新版
  • VSCode 最新版 (プラグイン導入済み)
  • Docker Desktop 最新版
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants