Skip to content

Error while launching: HTTP Toolkit hit an error #87

@anxkhn

Description

@anxkhn

Facing this issue.

Server crashed with 'Error: Cannot find module '@oclif/command'' (1).

See /Users/anas/Library/Logs/httptoolkit/last-run.log for more details.

Please file an issue at github.com/httptoolkit/httptoolkit.

Log:

--- Launching HTTP Toolkit desktop v1.20.1 at 2025-07-26T07:13:41.978Z ---
Server cleanup check completed
Port check completed
Starting server
node:internal/modules/cjs/loader:1228
  throw err;
  ^

Error: Cannot find module '@oclif/command'
Require stack:
- /Users/anas/.local/share/httptoolkit-server/client/1.21.2/bin/run
    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/anas/.local/share/httptoolkit-server/client/1.21.2/bin/run:3:1)
    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/anas/.local/share/httptoolkit-server/client/1.21.2/bin/run'
  ]
}

Node.js v22.14.0

Env:
MacOS 15.5 (24F74)
Version:
1.20.1
Installation:
brew install --cask http-toolkit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions