wiesson
05/25/2022, 7:33 AMError: Dynamic require of "stream" is not supported
at worker.js:46:22595
at node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js (worker.js:46:320543)
at worker.js:46:22757
at node_modules/.pnpm/cross-fetch@3.1.5/node_modules/cross-fetch/dist/node-ponyfill.js (worker.js:46:338800)
at worker.js:46:22757
at node_modules/.pnpm/@supabase+gotrue-js@1.22.15/node_modules/@supabase/gotrue-js/dist/main/lib/helpers.js (worker.js:46:339736)
at worker.js:46:22757
at node_modules/.pnpm/@supabase+gotrue-js@1.22.15/node_modules/@supabase/gotrue-js/dist/main/GoTrueApi.js (worker.js:46:341578)
at worker.js:46:22757
at node_modules/.pnpm/@supabase+gotrue-js@1.22.15/node_modules/@supabase/gotrue-js/dist/main/index.js (worker.js:46:365534)
I think the edge function has access to fetch, so neither node-fetch or cross-fetch should be required here.Needle
05/25/2022, 7:33 AMs c a p e g o a t
06/26/2022, 6:51 PM