Custom adapter (bun) example not working
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của vercel/workflow-examples
-
Create a new B2C flowĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
vercel/workflow-examples#48 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
vercel/workflow-examples#47 ·
-
createSelectSchemaĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
vercel/workflow-examples#1 · 1 bình luận ·
Tất cả issue của vercel/workflow-examples
Issue tương tự
-
Add: Disco Mix SDĐang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
level2 nsoc26
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
GauravKarakoti/SecureFlow#1488 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
deltachat/deltachat-desktop#6914 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area:cli bug P4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug from-studio
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
esengine/DeepSeek-Reasonix#14868 ·
Maintainer thường phản hồi trong vòng 1 ngày