bug: [ResolveMessage: Cannot find package '#fingerprint' imported from /var/task/node_modules/.pnpm/@[email protected]/node_modules/@bugsnag/cuid/index.esm.mjs]

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

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

Hướng nghiên cứu

There is no reproduction inside the repo yet, so start by building a minimal Hono + @trigger.dev/sdk project with @trigger.dev/build and deploying to Vercel through bun/pnpm to confirm the failure. The message shows the #fingerprint subpath import in @bugsnag/cuid's ESM entry failing to resolve at bundle time, so look at how the build extension externalizes or bundles dependencies for Vercel. Done means a documented cause plus a fix or workaround so the deploy no longer throws the ResolveMessage.

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

Mô tả

Provide environment information

The issue came after i added trigger sdk to my Hono (bun runtime) project which is hosted at vercel.

Image

Error:
[ResolveMessage: Cannot find package '#fingerprint' imported from /var/task/node_modules/.pnpm/@[email protected]/node_modules/@bugsnag/cuid/index.esm.mjs]

My machine:

  System:
    OS: macOS 26.5.2
    CPU: (8) arm64 Apple M1
    Memory: 152.31 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Yarn: 1.22.22 - /Users/akshayjumbade/Library/Application Support/Herd/config/nvm/versions/node/v24.21.0/bin/yarn
    npm: 11.19.0 - /Users/akshayjumbade/Library/Application Support/io.yerd.Yerd/bin/npm
    pnpm: 12.15.0 - /Users/akshayjumbade/Library/pnpm/bin/pnpm
    bun: 1.4.0 - /Users/akshayjumbade/.bun/bin/bun
{
   "name": "hono",
   "type": "module",
   "scripts": {
      "dev": "bun run --hot src/index.ts",
      "dev:trigger": "trigger dev",
      "deploy:trigger": "trigger deploy --env prod"
   },
   "dependencies": {
      "@aws-sdk/client-s3": "^3.1128.0",
      "@aws-sdk/s3-request-presigner": "^3.1128.0",
      "@hono/zod-validator": "^0.9.0",
      "@modelcontextprotocol/sdk": "^1.30.0",
      "@neondatabase/serverless": "^1.2.0",
      "@opentelemetry/api": "^1.9.1",
      "@trigger.dev/sdk": "4.8.1",
      "@upstash/redis": "^1.38.4",
      "drizzle-kit": "^0.31.10",
      "drizzle-orm": "^0.45.2",
      "hono": "^4.13.5",
      "resend": "^6.32.0",
      "valibot": "^1.4.2",
      "zod": "^4.5.2"
   },
   "devDependencies": {
      "@trigger.dev/build": "^4.8.1",
      "@types/bun": "^1.4.0",
      "bun-types": "^1.4.0",
      "drizzle-seed": "^0.3.1",
      "tsx": "^4.23.12",
      "typescript": "6"
   },
   "version": "dev"
}

Describe the bug

The issue came after i added trigger sdk to my Hono (bun runtime) project which is hosted at vercel.

Image

Error:
[ResolveMessage: Cannot find package '#fingerprint' imported from /var/task/node_modules/.pnpm/@[email protected]/node_modules/@bugsnag/cuid/index.esm.mjs]

Reproduction repo

Create a simple project with hono and trigger sdk with bun runtime and deploy on vercel.

To reproduce

Create a simple project with hono and trigger sdk with bun runtime and deploy on vercel.

Suggested fix

No response

Additional information

No response

Ngôn ngữ chính
TypeScript
Star
16.5k
Fork
1.5k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
17

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 triggerdotdev/trigger.dev

Tất cả issue của triggerdotdev/trigger.dev

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.