frinyvonnick / gitmoji-changelog

A changelog generator for gitmoji 😜
https://www.npmjs.com/package/gitmoji-changelog
MIT License
390 stars 49 forks source link

Trouble in init #188

Closed lvjiaxuan closed 3 years ago

lvjiaxuan commented 4 years ago

Stacktrace

Error: undefined is not a valid semver version.
    at getChangelog (E:\project\standard-version-test\node_modules\gitmoji-changelog\src\cli.js:138:11)
    at async main (E:\project\standard-version-test\node_modules\gitmoji-changelog\src\cli.js:97:27)

Environment

System:

CLI options

Project info


This error report was generated with ❤️ by issue-reporter

frinyvonnick commented 4 years ago

Hi @lvjiaxuan 👋

This may be fixed by #182. You don't need to use init command directly. You can do npx gitmoji-changelog in your repository. If the file CHANGELOG.md does not exist it will generate it from scratch.