The `analyzeCommits` plugin configuration is invalid. Your configuration for the analyzeCommits plugin is ``.
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 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 分钟
- 30 天内合并 PR
- 9
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
semantic-release/commit-analyzer 的其他 Issue
-
released on @beta
难度 2/5 1-3 小时 新手友好度 65/100
semantic-release/commit-analyzer#921 · 8 条评论 · 7 个 reaction ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 42/100
semantic-release/commit-analyzer#805 · 6 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
semantic-release/commit-analyzer#802 · 1 条评论 ·
维护者通常 1 天内回复
-
Unexpected major release because commit description includes a line starting with "Breaking change"未关闭
难度 3/5 1-2 天 新手友好度 35/100
semantic-release/commit-analyzer#776 · 1 条评论 ·
维护者通常 1 天内回复
-
Exclamation mark (!) after type/scope completely ignores commit可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭released on @beta
难度 3/5 1-2 天 新手友好度 55/100
semantic-release/commit-analyzer#759 · 13 条评论 · 6 个 reaction ·
维护者通常 1 天内回复
查看 semantic-release/commit-analyzer 的全部 Issue
相似的 Issue
-
feature request
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
docs hacktoberfest help wanted
难度 2/5 1-3 小时 新手友好度 85/100
pacocartones/free-llm-api-hub#347 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
cytoscape/cytoscape.js#3536 ·
维护者通常 15 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
cuttle-cards/cuttle#1440 ·
维护者通常 1 天内回复
-
URL-encoded parser builds nested objects nothing reads可能已有人在做 @Senthil455 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
Janani-bn/CivicFix#168 · 1 条评论 ·
维护者通常 1 天内回复