ag-ui-protocol / ag-ui-protocol/ag-ui

[Bug]: Build applications > Automatic Setup not working with last copilotkit / nextjs version

Aperta
#1,627 3 commenti 4 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
15.9k
Fork
1.4k
Merge medio
1g 17h
PR unite (30g)
163

Descrizione

### Pre-flight Checklist

- [x] I have searched [existing issues](https://github.com/ag-ui-protocol/ag-ui/issues) and this hasn't been reported yet.
- [x] I am using the **latest** version AG-UI.

### Describe the Bug

The command to create a new application with copilot kit + nextjs is not working with the last copilotkit version.

### Steps to Reproduce

1. npx create-ag-ui-app@latest
2. select copilotkit/nextjs
3. See it crash.

### Expected Behavior

Should work

### Environment

```text
Latest
```

### Screenshots

_No response_

### Logs & Errors

```shell
npx create-ag-ui-app@latest

█████╗ ██████╗ ██╗ ██╗ ██╗
██╔══██╗██╔════╝ ██║ ██║ ██║
███████║██║ ███╗█████╗██║ ██║ ██║
██╔══██║██║ ██║╚════╝██║ ██║ ██║
██║ ██║╚██████╔╝ ╚██████╔╝ ██║
╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝

Agent User Interactivity Protocol

~ Let's get started building an AG-UI powered user interactive agent ~
Read more about AG-UI at https://ag-ui.com

To build an AG-UI app, you need to select a client.

✔ What client do you want to use? CopilotKit/Next.js
✔ What would you like to name your project? my-ag-ui-app
(node:3653) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)
Unknown option '--no-banner'

❌ Project creation failed.
```

### Additional Context

There was a new version of copilotkit released 2 days ago https://www.npmjs.com/package/copilotkit?activeTab=versions
I assume it's more a "Not yet updated" kind of issue more than a bug itself

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.