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

CLI REPL does not accept CIDER middleware

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
clojure
領域
cli

調査の方向性

Start by reading nrepl/cmdline.clj around lines 447-471, then locate the corresponding middleware handling in the CLI REPL. Reproduce the failure with cider/cider-nrepl 0.62.2 and cider.nrepl/cider-middleware; the work is done when the CLI REPL starts without the Key must be integer error.

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

説明

Add cider/cider-nrepl {:mvn/version "0.62.2"} to your dependencies for starting the CLI REPL.

Add cider.nrepl/cider-middleware to your :middleware configuration.

Attempt to start the CLI REPL. You will get:

Execution error (IllegalArgumentException) at nrepl.server/default-handler$fn (server.clj:152).
Key must be integer

The problem is that cider.nrepl/cider-middleware is a vector of middleware symbols, not a simple m/w itself.

In the nREPL command-line, it unpacks these vectors to create a single list of all middleware: https://github.com/nrepl/nrepl/blob/master/src/clojure/nrepl/cmdline.clj#L447-L471

The CLI REPL is missing this step mapcat handle-seq-var essentially.

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

環境構築

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

はじめの一歩

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

clojure/clojure-cli.repl のほかの issue

clojure/clojure-cli.repl の issue をすべて見る

似ている issue

Clojure の issue をもっと見る

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

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