Don RendonD
Apify & Crawleeโ€ข7d agoโ€ข
1 reply
Don Rendon

Deno + esm.sh Import Error: Cannot find module 'tslib' in apify-client@2.1.0

๐Ÿ–ฅ๏ธPlatform
Hey Apify folks โ€” Supabase Edge Function (Deno runtime) crashing on apify-client@2.1.0 import.

Error: "Cannot find module 'tslib'"
Require stack points to /var/tmp/.../apify-client/2.1.0/dist/index.js

Using esm.sh import: https://esm.sh/apify-client@2.1.0

Attaching:
- edge function logs.txt (Supabase logs, repeated crash)
- code snippet (function code).txt (full analyze-trend function)

Anyone seen tslib missing in Deno/esm.sh + apify-client setup? Workaround or compat fix?

Can anyone plesae help? ๐Ÿ˜Ÿ
Was this page helpful?