top | item 45255147

(no title)

king_magic | 5 months ago

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();

discuss

order

drewbitt|5 months ago

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.

king_magic|5 months ago

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 '.'

sleepnow|5 months ago

this should resolve that for you:

unset GITHUB_TOKEN

npm install --global @openai/codex