Powered by
Deployed code from SDK is ignored in cloud emulato...
# 🤝help
i
important-night-77860
08/23/2025, 6:08 AM
Hey Botpress community, I'm posting in the hopes that someone might be able to help with an issue I'm facing. I've run into a problem where I deploy a bot developed locally with the SDK, but no matter how many times I deploy, the code isn't applied to the actual bot in the cloud. It just keeps running the default template. I'm wondering if I'm missing a step, or if this might be a known bug. 🤔 The Problem After successfully deploying a bot from my local machine using the Botpress CLI, the cloud emulator completely ignores the deployed code (index.ts) and runs the default "reset" template instead. 🚀 What I've Tried Completely reset my bot in the cloud using the "Reset bot to default" function. Created a new local project with bp init (using CLI v4.17.4). Wrote a simple, new workflow directly in the src/index.ts file. Installed all dependencies using npm install. Successfully deployed using the bp deploy command and confirmed the "√ Bot deployed" success message in the CLI. ❓ Expected vs. Actual Result Expected: The emulator should show the new welcome message that I defined in my src/index.ts code. Actual: The emulator continues to run the default template (the AutonomousNode) that appears right after a reset. My deployed code is being completely ignored. Am I missing something obvious, or could this be a bug with the cloud environment? Any help or suggestions would be greatly appreciated. Thanks for taking the time to read this!
https://cdn.discordapp.com/attachments/1408694322286821410/1408694322513051768/image_28c602.png?ex=68aaac52&is=68a95ad2&hm=507a5a89e0b0458a9e11d5acd84a8a65b5ebc48628c003838415d5255504cfe5&
https://cdn.discordapp.com/attachments/1408694322286821410/1408694322982817862/image_28ca7b.png?ex=68aaac52&is=68a95ad2&hm=5ca1a37ef5b701e8230b59eb64c348879e92604c6abfc07bf7f74acd98fbf90f&
https://cdn.discordapp.com/attachments/1408694322286821410/1408694323570282549/image_1ba642.png?ex=68aaac53&is=68a95ad3&hm=7f463fe273993e5b070f00d635ddad249aebb555888d270339b68ed805188b9c&
Previous
Next