Skip to content

[Bug]: Updating the providers has a [warn] message from npm #12242

Description

@youssef3698

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

Not sure

Steps to reproduce

1- Start the app
2- Click on the update button next to the provider name in the "Providers" tab
3- Paste the copied command in the terminal
4- Run

Expected behavior

The update should begin with no warnings from npm

Actual behavior

npm warn Unknown cli config "--allow-scripts". This will stop working in the next major version of npm.

Impact

Minor bug or occasional failure

Version or commit

stable @ 0.0.42

Environment

Windows 11

Logs or stack traces

PS C:\windows\system32> npm install -g --prefix C:\Users\Youssef\AppData\Roaming\npm --allow-scripts=opencode-ai opencode-ai@latest
npm warn Unknown cli config "--allow-scripts". This will stop working in the next major version of npm.

changed 3 packages in 1m
PS C:\windows\system32> npm install -g --prefix C:\Users\Youssef\AppData\Roaming\npm --allow-scripts=@openai/codex @openai/codex@latest
npm warn Unknown cli config "--allow-scripts". This will stop working in the next major version of npm.

Screenshots, recordings, or supporting files

No response

Workaround

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triagewontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions