Skip to main content

Streamable UI Errors

还没翻译译自英文(ai-sdk.dev)本页 5 段都还没译

Issue

  • Variable Not Found
  • Cannot find div
  • Component refers to a value, but is being used as a type

Solution

If you encounter these errors when working with streamable UIs within server actions, it is likely because the file ends in .ts instead of .tsx.