https://www.boundaryml.com logo
React/Next.js Setup | Boundary Documenta...
# general
s
Hi, is there a demo project repo that I can get started with for Baml+React? I found https://docs.boundaryml.com/guide/framework-integration/react-next-js/quick-start but wanted to know if there was some repo with the baml-src and stuff already done.
s
v
that will also have it!
just be sure to upgrade to the latest version and re-run
baml-cli generate
pnpm generate
should do it!
s
Generator version (0.207.1) !== the VSCode extension version
Havent used Baml in a while, the extension still isnt backwards compatible?πŸ₯²
v
It should be! Just hit cmd+s
And then it will work
But only if your extension is newer than the source code
I think we did it .90 onwards
s
A popup shows "Downloading BAML Language Server v0.207.1" but it doesnt seem to be downloading anything. My extension is
0.212.0
v
Oh! That is def a bug if so. Can you try restarting the lsp?
s
Now im getting
BAML encountered a problem handling a notification. Check the logs.
and the server is still downloading
v
Oh. Can you update the generators to match the version?
sorry about this!
You also need to make package.JSON match the same version
s
yep just gotta update to the latest version for now
Im sure yall had good reasons to do it the way its done but would finding the baml-cli binary in the project's environment make backwards/forwards compatibility easier to manage?
since the user can always run
baml-cli generate
v
Oh yea. We’ve thought of that. Honestly it’s just a matter of work. Primary reason is just that there are so many different ways people organize their projects so finding it harder than expected
Esp for multi project workspaces