New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'useUIState' is not exported from 'ai/rsc' #1511
Comments
Are you using es modules or commonjs? Would you mind sharing your |
Here is my tsconfig.json. Thanks for looking into this! {
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
} |
were you able to resolve this? i'm struggling with a similar issue |
"use client"
import { useUIState } from "ai/rsc" Let me know if this solves your issue! |
Yes, this was it! Thanks a lot! |
Description
When I try to run build, I get:
Because of the warning, my deployment to Vercel fails.
Code example
Additional context
The text was updated successfully, but these errors were encountered: