-
Notifications
You must be signed in to change notification settings - Fork 76
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
Production build doesn't work #13
Comments
I've encountered the same problem.I'm experiencing an issue where components defined in NODE_COMPONENT_MAP work correctly in the development environment (pnpm dev), but after building and starting the production environment (pnpm build and pnpm start), these components briefly show a loading state, display data momentarily, and then disappear.
Attempted Solutions
|
To anyone else experiencing this issue. This is how I fixed mine. Seems stream was getting closed inside agent.tsx handleInvokeToolsEvent and then again outside in server.tsx. I update my code to just do an update instead inside the agent.tsx. and this resolved it in production. See code snippet here: |
with
yarn build
yarn start
When tools results is loading, they blink and then everything disappears. No issues with yarn dev, just with prod build.
The text was updated successfully, but these errors were encountered: