Skip to content

Custom adapter (bun) example not working #17

@arielweinberger

Description

@arielweinberger

Hey, is the custom adapter example ready?

Cloning the folder, installing packages, as well as missing @swc/core and @workflow/swc-plugin, and running bun run dev.

Getting the following error:

bun run dev

$ bun x workflow build && PORT=3152 bun run server.ts
Using target: standalone
Building with StandaloneBuilder
Creating steps bundle at ./.well-known/workflow/v1/step.js
Discovering workflow directives 116ms
Created steps bundle 184ms
Creating workflows bundle at ./.well-known/workflow/v1/flow.js
Created intermediate workflow bundle 14ms
Created final workflow bundle 53ms
Creating webhook bundle at ./.well-known/workflow/v1/webhook.js
Creating webhook route
Build completed successfully!
Workflow plugin loaded
error: plugin

  × failed to invoke plugin on 'Some("./workflows-bun-adapter/workflows/user-signup.ts")'

 code: "GenericFailure"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions