-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Cannot find module 'conventionalcommits' #4184
Copy link
Copy link
Closed
Labels
Description
Current Behavior
I am seeing error Cannot find module 'conventionalcommits' when trying to run lerna release.
Expected Behavior
Release command working with conventional commits style.
Steps to Reproduce
Use changelog preset of "conventionalcommits" and you can see the error when running lerna release. When I remove this configuration, the lerna release command works.
Failure Logs / Configuration
lerna.json
{
"changelogPreset": {
"issueUrlFormat": "{{host}}/{{owner}}/{{repository}}/issues/{{id}}",
"name": "conventionalcommits"
},
"command": {
"publish": {
"allowBranch": "main",
"conventionalCommits": true,
"message": "[skip ci] chore: Publish"
}
},
"exact": true,
"loglevel": "verbose",
"npmClient": "yarn",
"npmClientArgs": [
"--exact"
],
"registry": "https://registry.npmjs.org/",
"version": "independent",
"yes": true
}Environment
Lerna v8.2.2
Reactions are currently unavailable