[2025-05-21 23:14:03] Installing Yarn package manager...
→ npm install -g yarn
npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm.
⠙⠹⠸npm error code EEXIST
⠸npm error path /root/.nvm/versions/node/v20.19.2/bin/yarn
⠸npm error EEXIST: file already exists
⠸npm error File exists: /root/.nvm/versions/node/v20.19.2/bin/yarn
⠸npm error Remove the existing file and try again, or run npm
⠸npm error with --force to overwrite files recklessly.
⠸npm error A complete log of this run can be found in: /root/.npm/_logs/2025-05-21T23_14_03_151Z-debug-0.log
⠸+ log '⚠️ Yarn installation failed, but continuing...'
codex-maintainers· 1 year ago
Thanks for the feedback! Please try again on the latest version of Codex CLI. If the issue persists, feel free to let us know.
Elite-zx· 12 months ago
No description provided. 没有提供描述。
Did you solve it? Please tell me the solution
jyC23333· 12 months ago
Did you solve it? Please tell me the solution
Not yet. But setting the environment variables to use proxy can be an alternative.
Like this(suppose your proxy is running at 7890): export all_proxy=http://localhost:7890; export http_proxy=http://localhost:7890;export https_proxy=http://localhost:7890
4 Comments
Thanks for the feedback! Please try again on the latest version of Codex CLI. If the issue persists, feel free to let us know.
Did you solve it? Please tell me the solution
Not yet. But setting the environment variables to use proxy can be an alternative.
Like this(suppose your proxy is running at
7890):export all_proxy=http://localhost:7890; export http_proxy=http://localhost:7890;export https_proxy=http://localhost:7890