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

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

Abierto
#1,627 3 comentarios 4 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
15.9k
Forks
1.4k
Merge medio
1 d 17 h
PR fusionados (30 d)
163

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.