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

The `analyzeCommits` plugin configuration is invalid. Your configuration for the analyzeCommits plugin is ``.

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

lib/plugins/index.js と lib/get-config.js で言及されている設定検証の経路から始め、報告されている package.json の release 設定を analyzeCommits プラグインのドキュメントと比較します。示されているバージョンと設定を使ってエラーを再現します。完了の条件は、設定が無効なのか、検証またはエラー報告が誤っているのかを特定し、確認されたケースをカバレッジに含めることです。

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

説明

Hello,

I'm trying to get this plugin working, however I'm always running into the error

What I tried so far was the .releaserc.json and package.json config types with both having the same results:

[10:30:43 AM] [semantic-release] › ✖  EPLUGINCONF The `analyzeCommits` plugin configuration is invalid.
The analyzeCommits plugin configuration (https://github.com/semantic-release/semantic-release/blob/master/docs/usage/plugins.md#analyzecommits-plugin) is required and  must be a single or an array of plugins definition. A plugin definition is an npm module name, optionally wrapped in an array with an object.

Your configuration for the analyzeCommits plugin is ``.

AggregateError: 
    SemanticReleaseError: The `analyzeCommits` plugin configuration is invalid.
        at module.exports (/home/user/workspace/my-app/node_modules/semantic-release/lib/get-error.js:6:10)
        at /home/user/workspace/my-app/node_modules/semantic-release/lib/plugins/index.js:62:23
        at Array.reduce (<anonymous>)
        at module.exports (/home/user/workspace/my-app/node_modules/semantic-release/lib/plugins/index.js:47:59)
        at module.exports (/home/user/workspace/my-app/node_modules/semantic-release/lib/get-config.js:84:35)
        at async module.exports (/home/user/workspace/my-app/node_modules/semantic-release/index.js:265:32)
        at async module.exports (/home/user/workspace/my-app/node_modules/semantic-release/cli.js:55:5)
    at module.exports (/home/user/workspace/my-app/node_modules/semantic-release/lib/plugins/index.js:89:11)
    at module.exports (/home/user/workspace/my-app/node_modules/semantic-release/lib/get-config.js:84:35)
    at async module.exports (/home/user/workspace/my-app/node_modules/semantic-release/index.js:265:32)

This is my configuration

"dependencies": {
    "semantic-release": "^19.0.5",
    "conventional-changelog-conventionalcommits": "^5.0.0",
    "@semantic-release/changelog": "^6.0.1",
    "@semantic-release/commit-analyzer": "^9.0.2",
    "@semantic-release/exec": "^6.0.3",
    "@semantic-release/git": "^10.0.1",
    "@semantic-release/github": "^8.0.6",
    "@semantic-release/release-notes-generator": "^10.0.3",
},
"release": {
    "preset": "conventionalcommits",
    "plugins": [
      "@semantic-release/commit-analyzer",
      "@semantic-release/release-notes-generator",
      "@semantic-release/changelog",
      [
        "@semantic-release/exec",
        {
          "publishCmd": "nx run affected --target=release --args=\"--version=${nextRelease.version}\""
        }
      ]
    ]
  },

What am I missing?

主要言語
JavaScript
スター
447
フォーク
82
平均マージ
7時間 53分
マージ済み PR(30日)
9

環境構築

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

はじめの一歩

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

semantic-release/commit-analyzer のほかの issue

semantic-release/commit-analyzer の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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