[GH-ISSUE #7] Keeps running indefinetly on both mac books #5

Closed
opened 2026-03-02 02:52:57 +03:00 by kerem · 4 comments
Owner

Originally created by @johndoejabra on GitHub (Jul 22, 2020).
Original GitHub issue: https://github.com/artiebits/fake-git-history/issues/7

fake-git-history --commitsPerDay "0,7" -s "19/10/22" -e "20/01/15"

keeps running indefinitely on the both the macs, with no visibile changes in file in the git repository.
eventually I killed the process with Ctrl + C and got this error in the screenshot

TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:409:11)
    at spawn (child_process.js:546:13)
    at Object.execFile (child_process.js:232:17)
    at exec (child_process.js:153:25)
    at child_process.js:167:29
    at generateHistory (/Users/*****/.config/yarn/global/node_modules/fake-git-history/index.js:42:11)
    at module.exports (/Users/*****/.config/yarn/global/node_modules/fake-git-history/index.js:58:5)
    at Object.<anonymous> (/Users/*****/.config/yarn/global/node_modules/fake-git-history/cli.js:48:1)
    at Module._compile (internal/modules/cjs/loader.js:1200:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)

Screenshots

image

after killing the process doing the git log shows nothing

This behavior is reproducible on both my macs

Originally created by @johndoejabra on GitHub (Jul 22, 2020). Original GitHub issue: https://github.com/artiebits/fake-git-history/issues/7 `fake-git-history --commitsPerDay "0,7" -s "19/10/22" -e "20/01/15"` keeps running indefinitely on the both the macs, with no visibile changes in file in the git repository. eventually I killed the process with Ctrl + C and got this error in the screenshot ``` TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received '' at normalizeSpawnArguments (child_process.js:409:11) at spawn (child_process.js:546:13) at Object.execFile (child_process.js:232:17) at exec (child_process.js:153:25) at child_process.js:167:29 at generateHistory (/Users/*****/.config/yarn/global/node_modules/fake-git-history/index.js:42:11) at module.exports (/Users/*****/.config/yarn/global/node_modules/fake-git-history/index.js:58:5) at Object.<anonymous> (/Users/*****/.config/yarn/global/node_modules/fake-git-history/cli.js:48:1) at Module._compile (internal/modules/cjs/loader.js:1200:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10) ``` **Screenshots** ![image](https://user-images.githubusercontent.com/62517966/88138737-1fb0a700-cba3-11ea-8284-cbf5e4ab3754.png) after killing the process doing the `git log` shows nothing This behavior is reproducible on both my macs
kerem closed this issue 2026-03-02 02:52:57 +03:00
Author
Owner

@artiebits commented on GitHub (Jul 23, 2020):

Hi! Thank you for reporting the issue. I made a mistake in documentation saying the date must be in YY/MM/DD format. It must be yyyy/MM/dd, sorry for my mistake. So, the correct command for your is fake-git-history --commitsPerDay "0,7" -s "2019/10/22" -e "2020/01/15". Please let me know if it helps you.

<!-- gh-comment-id:662905076 --> @artiebits commented on GitHub (Jul 23, 2020): Hi! Thank you for reporting the issue. I made a mistake in documentation saying the date must be in `YY/MM/DD` format. It must be `yyyy/MM/dd`, sorry for my mistake. So, the correct command for your is `fake-git-history --commitsPerDay "0,7" -s "2019/10/22" -e "2020/01/15"`. Please let me know if it helps you.
Author
Owner

@johndoejabra commented on GitHub (Jul 23, 2020):

Thanks, It does I can create a PR shortly to update the documentation.

<!-- gh-comment-id:663284776 --> @johndoejabra commented on GitHub (Jul 23, 2020): Thanks, It does I can create a PR shortly to update the documentation.
Author
Owner

@artiebits commented on GitHub (Jul 24, 2020):

that would be nice, thank you 👍

<!-- gh-comment-id:663381301 --> @artiebits commented on GitHub (Jul 24, 2020): that would be nice, thank you 👍
Author
Owner

@artiebits commented on GitHub (Jul 29, 2020):

let me know if you have any questions about opening a PR

<!-- gh-comment-id:665518642 --> @artiebits commented on GitHub (Jul 29, 2020): let me know if you have any questions about opening a PR
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-git-history#5
No description provided.