scripts/build_container.sh error.
What version of Codex is running?
The latest version run directly from the git local repository
What subscription do you have?
ChatGPT Plus
Which model were you using?
gpt-5.1-codex-max
What platform is your computer?
Linux 5.4.0-1105-raspi aarch64 aarch64
What issue are you seeing?
url.parse()
ubuntu@ubuntu:/media/Repos/codex/codex-cli$ ./scripts/build_container.sh
Scope: all 3 workspace projects
(node:284101) [DEP0169] DeprecationWarning: behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for url.parse() vulnerabilities.node --trace-deprecation ...
(Use to show where the warning was created)
.. | -46 -----
.. | Progress: resolved 0, reused 46, downloaded 0, added 0, done
../sdk/typescript prepare$ pnpm run build
[5 lines collapsed]
│ CLI Using tsup config: /media/Repos/codex/sdk/typescript/tsup.config.ts
│ CLI Target: node18
│ CLI Cleaning output folder
│ ESM Build start
│ ESM dist/index.js 9.92 KB
│ ESM dist/index.js.map 20.47 KB
│ ESM ⚡️ Build success in 83ms
│ DTS Build start
│ DTS ⚡️ Build success in 7431ms
│ DTS dist/index.d.ts 8.95 KB
└─ Done in 11.8s
Done in 17.4s using pnpm v10.8.1
ERR_PNPM_NO_SCRIPT Missing script: build
What steps can reproduce the bug?
Just run the script like this:
./scripts/build_container.sh
What is the expected behavior?
No errors
Additional information
Could this be the problem?
codex-cli/scripts/build_container.sh invokes pnpm run build, but codex-cli/package.json defines no build script, so the container build fails with ERR_PNPM_NO_SCRIPT Missing script: build
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗