lerna / lerna-changelog

:book: PR-based changelog generator with monorepo support
MIT License
802 stars 100 forks source link

sh: lerna-changelog: command not found #1241

Open barryofguilder opened 4 months ago

barryofguilder commented 4 months ago

The first time I ran the npx lerna-changelog command in my Terminal, I get the prompt for permission to install lerna-changelog. After that, if I go to my Git repo to run the command to generate the changelog file, I get the following error:

"sh: lerna-changelog: command not found"

The only way I can get around this error is by manually installing this package globally using npm install -g lerna-changelog. What am I doing wrong?