ERROR Bad substitution
Resolved 💬 2 comments Opened Apr 16, 2025 by gaiar Closed Apr 16, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator)
responded on this thread — see the highlighted reply below.
In the past 15 minutes I've received such error two times
ERROR Bad substitution:
file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:1900
- w (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:1900)
- (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:2484)
- at Array.map (<anonymous>)
- t0e (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:1639)
- zU.exports (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:2622)
- m0e (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:251:2844)
- CT (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:251:2270)
- R5e (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:322:2182)
- nA (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:92:383)
- ede (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:108:9945)
ERROR Bad substitution:
file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:1900
- w (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:1900)
- (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:2484)
- at Array.map (<anonymous>)
- t0e (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:1639)
- zU.exports (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:2622)
- m0e (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:251:2844)
- CT (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:251:2270)
- R5e (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:322:2182)
- nA (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:92:383)
- ede (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:108:9945)
2 Comments
Dupe of https://github.com/openai/codex/issues/87
@gaiar we just pushed version
0.1.2504161551of@openai/codexwhich I believe should fix this, so give it a shot?