Unable to setup the codex

Resolved 💬 3 comments Opened Apr 28, 2025 by smartcraze Closed Apr 29, 2025

What is the type of issue?

Documentation is missing

What is the issue?

gives out this error
suraj@suraj ~/p/Second-brain-Backends (main)> codex
Initializing agent…

ERROR crypto is not defined

file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:556:2000

  • (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:556:2000)
  • V1 (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:112:27748)
  • f_e (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:125:13588)
  • p_e (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:125:13331)
  • d_e (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:125:13237)
  • u_e (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:125:13113)
  • lAe (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:129:11795)
  • ad (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:129:11449)
  • (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:129:10543)
  • ye (file:///usr/local/lib/node_modules/@openai/codex/dist/cli.js:26:15388)

Where did you find it?

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗