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
Getting random errors when running ftl dev locally. Specifically this error
error:controller0: Invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?
Here's a snippet of the relevant log with debug messages. I can provide more context around this as well if needed. In the log below, it appears we try to deploy echo before time reports "Online"
debug:echo:deploy: Uploading 0/2 files
debug:provisioner0: Skipping task for module echo with provisioner dev
debug:provisioner0: Skipping task for module echo with provisioner migration
debug:provisioner0: Adding task for module echo: controller (module)
debug:provisioner0: Adding task for module echo: runner (runner)
debug:provisioner0: Running deployment for module echo
debug:provisioner0: Starting task echo: controller
debug:provisioner0: started a task with token f231b2b1-1ffa-42c3-b00d-8720bec863c7
debug:provisioner0: Provisioning module: echo
error:controller0: Invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?
debug:controller0: Unary RPC failed: invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?: /xyz.block.ftl.v1.ControllerService/CreateDeployment
debug:provisioner0: Unary RPC failed: unknown: invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?: /xyz.block.ftl.v1.ControllerService/CreateDeployment
error:provisioner0: failed to provision resource echo: failed to create deployment: unknown: invalid module schema: invalid schema: /Users/wesb/dev/ftl/examples/go/echo/echo.go:27:52: unknown reference "time.time", is the type annotated and exported?
debug:time:runner1: Ping succeeded in 1.32s
debug:time: Online
debug:time:runner1: Deployed dpl-time-xgxsifdweazmz2r
The text was updated successfully, but these errors were encountered:
Getting random errors when running
ftl dev
locally. Specifically this errorHere's a snippet of the relevant log with
debug
messages. I can provide more context around this as well if needed. In the log below, it appears we try to deployecho
beforetime
reports "Online"The text was updated successfully, but these errors were encountered: