When i tried running this, it says it cant find a package.json.
Do you know why this is getting triggered?
PS C:\CODING\external\Win-Codex> npm i -g @openai/codex
added 1 package in 10s
PS C:\CODING\external\Win-Codex> .\scripts\run.ps1 -NoLaunch
=== Extracting DMG ===
4.hfs
ERRORS:
Headers Error
=== Extracting app.asar ===
=== Unpacking app.asar ===
npm error could not determine executable to run
npm error A complete log of this run can be found in: C:\Users\vrajp\AppData\Local\npm-cache\_logs\2026-02-10T19_57_19_741Z-debug-0.log
=== Syncing app.asar.unpacked ===
=== Patching preload ===
=== Reading app metadata ===
Exception: C:\CODING\external\Win-Codex\scripts\run.ps1:248
Line |
248 | if (-not (Test-Path $pkgPath)) { throw "package.json not found." }
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| package.json not found.
When i tried running this, it says it cant find a package.json.
Do you know why this is getting triggered?