You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making a simple Typescript 5.8.0 project, where I run the command to generate the module_bindings folder:
spacetime generate --lang typescript --out-dir client/src/module_bindings --project-path server
This creates .ts files with imports from the @clockworklabs-spacetimedb-sdk.
CallReducerFlags for example is being imported as a variable, not as a type. So importing the current module_bindings results in this error:
Uncaught SyntaxError: The requested module 'http://localhost:5173/node_modules/.vite/deps/@clockworklabs_spacetimedb-sdk.js?v=8b3b85f2' doesn't provide an export named: 'CallReducerFlags'
Am I doing something wrong or is there a version mismatch between the sdk and the module_bindings?
AustinBrunkhorst, Laykel, Mrucznik, glensargent, kroyoda and 2 more