[GH-ISSUE #57] Cannot find module './visualization' #23

Closed
opened 2026-03-02 02:53:05 +03:00 by kerem · 1 comment
Owner

Originally created by @alexnodejs on GitHub (Apr 6, 2025).
Original GitHub issue: https://github.com/artiebits/fake-git-history/issues/57

Describe the bug
When I run npx fake-git-history I get

node:internal/modules/cjs/loader:1228
  throw err;
  ^

Error: Cannot find module './visualization'
Require stack:
- /Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/index.js
- /Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/cli.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
    at Function._load (node:internal/modules/cjs/loader:1055:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.require (node:internal/modules/cjs/loader:1311:12)
    at require (node:internal/modules/helpers:136:16)
    at Object.<anonymous> (/Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/index.js:19:39)
    at Module._compile (node:internal/modules/cjs/loader:1554:14)
    at Object..js (node:internal/modules/cjs/loader:1706:10)
    at Module.load (node:internal/modules/cjs/loader:1289:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/index.js',
    '/Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/cli.js'
  ]
}

To Reproduce
Steps to reproduce the behavior:

  1. npx fake-git-history
  2. Error is thrown

Expected behavior
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • OS: macOS 15.3.1 (Sequoia)
  • Node.js v22.14.0, npm 10.9.2
Originally created by @alexnodejs on GitHub (Apr 6, 2025). Original GitHub issue: https://github.com/artiebits/fake-git-history/issues/57 **Describe the bug** When I run `npx fake-git-history` I get ``` node:internal/modules/cjs/loader:1228 throw err; ^ Error: Cannot find module './visualization' Require stack: - /Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/index.js - /Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/cli.js at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15) at Function._load (node:internal/modules/cjs/loader:1055:27) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:220:24) at Module.require (node:internal/modules/cjs/loader:1311:12) at require (node:internal/modules/helpers:136:16) at Object.<anonymous> (/Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/index.js:19:39) at Module._compile (node:internal/modules/cjs/loader:1554:14) at Object..js (node:internal/modules/cjs/loader:1706:10) at Module.load (node:internal/modules/cjs/loader:1289:32) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/index.js', '/Users/user/.npm/_npx/34a76efd1b0291cf/node_modules/fake-git-history/src/cli.js' ] } ``` **To Reproduce** Steps to reproduce the behavior: 1. `npx fake-git-history` 2. Error is thrown **Expected behavior** A clear and concise description of what you expected to happen. **Desktop (please complete the following information):** - OS: macOS 15.3.1 (Sequoia) - Node.js v22.14.0, npm 10.9.2
kerem closed this issue 2026-03-02 02:53:05 +03:00
Author
Owner

@artiebits commented on GitHub (Apr 6, 2025):

Hi @alexnodejs, thanks for reporting! I've fixed it, please try npx fake-git-history@latest

<!-- gh-comment-id:2781533977 --> @artiebits commented on GitHub (Apr 6, 2025): Hi @alexnodejs, thanks for reporting! I've fixed it, please try `npx fake-git-history@latest`
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#23
No description provided.