News for hackers. Stuff that matters.
Re:GPT-5-Codex by king_magic on Monday September 15, 2025 @05:28PM (#45255147)
Doesn't seem ready for prime-time. I'll be impressed when it actually installs.

npm ERR! code 1 npm ERR! path /usr/local/lib/node_modules/@openai/codex/node_modules/@vscode/ripgrep npm ERR! command failed npm ERR! command sh -c node ./lib/postinstall.js npm ERR! /usr/local/lib/node_modules/@openai/codex/node_modules/@vscode/ripgrep/lib/download.js:199 npm ERR! zipFile?.close();

Re:GPT-5-Codex by drewbitt on Monday September 15, 2025 @07:50PM (#45256353)
codex cli has been out for 5 months with 170k weekly downloads - it's definitely 'ready for primetime' if you can get past your bug. I don't have that issue.
Re:GPT-5-Codex by king_magic on Tuesday September 16, 2025 @03:36AM (#45259196)
The install errors out after following two basic install commands. This is poor code hygiene on the part of the authors. That's "not ready for primetime" in my book.

  npm ERR! code 1
  npm ERR! path /usr/local/lib/node_modules/@openai/codex/node_modules/@vscode/ripgrep
  npm ERR! command failed
  npm ERR! command sh -c node ./lib/postinstall.js
  npm ERR! /usr/local/lib/node_modules/@openai/codex/node_modules/@vscode/ripgrep/lib/download.js:199
  npm ERR!                     zipFile?.close();
  npm ERR!                             ^
  npm ERR! 
  npm ERR! SyntaxError: Unexpected token '.'
Re:GPT-5-Codex by SyrupThinker on Tuesday September 16, 2025 @06:06AM (#45260252)
Please tell me you are not running a NodeJS release that hasn't been supported for at least 3 years...

Optional chaining was added in v14 (2020), and it sure looks like that is the issue here.

Re:GPT-5-Codex by king_magic on Tuesday September 16, 2025 @12:48PM (#45264695)
Brand new, clean install of npm.

Poor code + doc hygiene is the problem here.

Re:GPT-5-Codex by hayd on Tuesday September 16, 2025 @03:21PM (#45266680)
The question is which version of node, not npm.
Re:GPT-5-Codex by king_magic on Wednesday September 17, 2025 @04:07PM (#45280762)
[delayed]
Re:GPT-5-Codex by drewbitt on Wednesday September 17, 2025 @07:23PM (#45282676)
It does matter.
Re:GPT-5-Codex by king_magic on Monday September 22, 2025 @04:56AM (#45330774)
Why yes, you're right, poor code hygiene and poor documentation hygiene does matter. We finally agree.
Re:GPT-5-Codex by sleepnow on Friday September 19, 2025 @12:59PM (#45303887)
this should resolve that for you:

unset GITHUB_TOKEN

npm install --global @openai/codex