It seems interactive use of bump does not work on Windows.
- with git-bash, command stops as soon as interactive prompt is expected to be displayed, showing "Cannot read property 'get' of undefined" and exiting
- with powershell, first interactive prompt is displayed, validated, action is applied on project, but command stays like waiting for input not following nor exiting
basic setup:
mkdir bump-foo && cd bump-foo
npm init private && git init && git add . && git commit -m "initial commit"
then trying
bump fails:
$ npx bump
(git-bash)
Cannot read property 'get' of undefined
(powershell)
? Select an increment: (Use arrow keys)
major
> minor
patch
premajor
preminor
prepatch
prerelease
custom
? Select an increment: minor
bump minor fails:
$ npx bump minor
(git-bash)
Bumping the version...
Updating the changelog...
Cannot read property 'get' of undefined
(powershell)
? No changes detected, bump anyway? (Use arrow keys)
No
> Yes
? No changes detected, bump anyway? Yes
Bumping the version...
bump minor --force runs fine 😃:
$ npx bump minor --force
Bumping the version...
Updating the changelog...
Making the commit...
Tagging the commit...
environment:
- Windows 10
- Node 14.2.0 Current / 12.16.3 LTS
- NPM 6.14.4
It seems interactive use of bump does not work on Windows.
basic setup:
then trying
bump fails:
bump minor fails:
bump minor --force runs fine 😃:
environment: