You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TLDR: The 2.0.0-beta.4 npm package fails to load into the Supabase Deno edge function environment. I can load other npm packages successfully, including the 1.27.0 verison of Telnyx, so I suspect this is an issue in the 2.0.0 version of Telnyx.
I have a supabase project with a Deno cloud function. The beginning of this Deno script starts with:
When I run the function locally using npx supabase functions start --debug I can get extra logs that show the Deno environment trying to load the npm dependency. The script fails with an error of:
...
worker boot error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///var/tmp/sb-compile-edge-runtime/node_modules/localhost/telnyx/2.0.0-beta.4/dist/telnyx' imported from 'file:///var/tmp/sb-compile-edge-runtime/node_modules/localhost/telnyx/2.0.0-beta.4/dist/telnyx.node.js'
worker boot error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///var/tmp/sb-compile-edge-runtime/node_modules/localhost/telnyx/2.0.0-beta.4/dist/telnyx' imported from 'file:///var/tmp/sb-compile-edge-runtime/node_modules/localhost/telnyx/2.0.0-beta.4/dist/telnyx.node.js'
InvalidWorkerCreation: worker boot error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///var/tmp/sb-compile-edge-runtime/node_modules/localhost/telnyx/2.0.0-beta.4/dist/telnyx' imported from 'file:///var/tmp/sb-compile-edge-runtime/node_modules/localhost/telnyx/2.0.0-beta.4/dist/telnyx.node.js'
at async UserWorker.create (ext:sb_user_workers/user_workers.js:139:15)
at async Object.handler (file:///root/index.ts:156:22)
at async respond (ext:sb_core_main_js/js/http.js:163:14) {
name: "InvalidWorkerCreation"
}
I have the same issue using Vercel [nuxt] [request error] [unhandled] [500] Cannot find module '/var/task/node_modules/telnyx/dist/telnyx' imported from /var/task/node_modules/telnyx/dist/telnyx.node.js
TLDR: The
2.0.0-beta.4
npm package fails to load into the Supabase Deno edge function environment. I can load other npm packages successfully, including the1.27.0
verison of Telnyx, so I suspect this is an issue in the2.0.0
version of Telnyx.I have a supabase project with a Deno cloud function. The beginning of this Deno script starts with:
When I run the function locally using
npx supabase functions start --debug
I can get extra logs that show the Deno environment trying to load the npm dependency. The script fails with an error of:Node version:
v20.15.1
Telnyx npm package:
2.0.0-beta.4
A more full log dump of the Deno runtime trying to load the Telnyx
2.0.0-beta.4
npm package:The text was updated successfully, but these errors were encountered: