Mr Void
Mr Void
Explore posts from servers
DDeno
Created by Mr Void on 1/9/2024 in #help
Error: Not implemented: crypto.Sign
Error: Not implemented: crypto.Sign
at notImplemented (https://deno.land/[email protected]/node/_utils.ts:6:11)
at new Sign (https://deno.land/[email protected]/node/internal/crypto/sig.ts:10:9)
at Object.createSign (https://deno.land/[email protected]/node/crypto.ts:41:12)
at Object.sign (https://esm.sh/v135/[email protected]/deno/jwa.mjs:10:1429)
at Object.B [as sign] (https://esm.sh/v135/[email protected]/deno/jws.mjs:16:2178)
at T.requestToken (https://esm.sh/v135/[email protected]/deno/gtoken.mjs:8:4404)
at T.getTokenAsyncInner (https://esm.sh/v135/[email protected]/deno/gtoken.mjs:8:3391)
at T.getTokenAsync (https://esm.sh/v135/[email protected]/deno/gtoken.mjs:8:2968)
at T.getToken (https://esm.sh/v135/[email protected]/deno/gtoken.mjs:8:2117)
at i.refreshTokenNoCache (https://esm.sh/v135/[email protected]/deno/google-auth-library.mjs:37:23973)
Error: Not implemented: crypto.Sign
at notImplemented (https://deno.land/[email protected]/node/_utils.ts:6:11)
at new Sign (https://deno.land/[email protected]/node/internal/crypto/sig.ts:10:9)
at Object.createSign (https://deno.land/[email protected]/node/crypto.ts:41:12)
at Object.sign (https://esm.sh/v135/[email protected]/deno/jwa.mjs:10:1429)
at Object.B [as sign] (https://esm.sh/v135/[email protected]/deno/jws.mjs:16:2178)
at T.requestToken (https://esm.sh/v135/[email protected]/deno/gtoken.mjs:8:4404)
at T.getTokenAsyncInner (https://esm.sh/v135/[email protected]/deno/gtoken.mjs:8:3391)
at T.getTokenAsync (https://esm.sh/v135/[email protected]/deno/gtoken.mjs:8:2968)
at T.getToken (https://esm.sh/v135/[email protected]/deno/gtoken.mjs:8:2117)
at i.refreshTokenNoCache (https://esm.sh/v135/[email protected]/deno/google-auth-library.mjs:37:23973)
The following is a supabase edge-function that is meant to send a post request to Firebase Cloud Messaging. However, it throws the error above and I am not sure why this is happening or how to solve it. This is the guide that I follow: https://supabase.com/docs/guides/functions/examples/push-notifications?platform=fcm
3 replies