Open phillipmohr opened 1 week ago
I believe you'll want to open an issue on their repo, as that library is not part of Supabase. https://github.com/nuxt-modules/supabase/issues
I believe you'll want to open an issue on their repo, as that library is not part of Supabase. https://github.com/nuxt-modules/supabase/issues
Sorry I forgot to mention that the error occurs in http://localhost:3000/_nuxt/node_modules/.pnpm/@supabase+ssr@0.5.1_@supabase+supabase-js@2.45.3/node_modules/@supabase/ssr/dist/module/utils/helpers.js?v=1eda2991
which is this library, right?
Ah, yes.
To clarify, are you importing parse
or serialize
into your code?
Ah, yes.
To clarify, are you importing
parse
orserialize
into your code?
No, I'm not importing parse or serialize.
Bug report
Describe the bug
Getting
Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.pnpm/cookie@0.6.0/node_modules/cookie/index.js?v=1eda2991' does not provide an export named 'parse' (at helpers.js?v=1eda2991:1:10)
in my Nuxt application.File location where error is thrown:
http://localhost:3000/_nuxt/node_modules/.pnpm/@supabase+ssr@0.5.1_@supabase+supabase-js@2.45.3/node_modules/@supabase/ssr/dist/module/utils/helpers.js?v=1eda2991
A clear and concise description of what the bug is. See error message.
I had this issue before and I think I fixed it by manually editing the node_modules and change this line:
import {parse as cookieParse, serialize as cookieSerialize} from "/_nuxt/node_modules/.pnpm/cookie@0.6.0/node_modules/cookie/index.js?v=1eda2991";
to thisconst { parse: cookieParse, serialize: cookieSerialize } = require("cookie");
Since then I have forgot about it. Now it's happening again because it was just a temp local fix.
I wanted to retry if editing the helpers.js in the node_modules would fix it again but now for some reason my changes in the node modules are not being applied. I have spent countless hours into figuring out why.
So unfortunately as of now this is all the information I can give you about this bug. Maybe someone else experiences the same issue.
I'm using the
@nuxtjs/supabase
module.System information