Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Custom adapter (bun) example not working

Đang mở
#17 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
bun, typescript
Lĩnh vực
build-system, tooling

Hướng nghiên cứu

Reproduce the issue from the custom-adapter example by installing its packages and running bun run dev. Start at workflows-bun-adapter/workflows/user-signup.ts and the reported workflow plugin invocation, then verify that the example builds and runs without the GenericFailure error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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"

Ngôn ngữ chính
TypeScript
Star
566
Fork
91
Merge trung bình
14 giờ 40 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của vercel/workflow-examples

Tất cả issue của vercel/workflow-examples

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.