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

Response on Send: Cannot POST /

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

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

評価

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

調査の方向性

まずローカルネットワーク上で失敗を再現し、index.ejsを調査します。特にsocket.ioとjQueryのスクリプト参照を確認してください。サーバーがrootへのPOSTリクエストをどのように処理するか、またクライアントスクリプトが読み込まれるかを確認します。doneは、「Cannot POST /」なしで送信アクションが機能すること、またはexampleを廃止するという文書化された決定として定義します。

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

説明

This does not work on a server within my local home network. I can connect to my server on the 8080 port just fine, but the send button just returns the following:

Cannot POST /

I suspect that socket.io has been updated significantly since this post so the coding is wildly out of date for this project as it looks to not been maintained. I suspect this because the following script tag in index.ejs would never finds that file.

<script src="../../socket.io/socket.io.js"></script>

The correct path to the js file in question is actually the following:

<script src="../node_modules/socket.io/client-dist/socket.io.js"></script>

There's also a script reference to a very old jQuery implementation that I am not sure if that is causing issues also. At the end of the day, this code and the article that featured it should be taken down if it is not being maintained.

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

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

dkhd/node-group-chat のほかの issue

dkhd/node-group-chat の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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