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?
The first time I ran the
npx lerna-changelog
command in my Terminal, I get the prompt for permission to installlerna-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?