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
Getting Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.pnpm/[email protected]/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/@[email protected]_@[email protected]/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/[email protected]/node_modules/cookie/index.js?v=1eda2991"; to this
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
OS: macOS
Browser (if applies) Google Chrome
Version of supabase-js: 2.39.0
Version of Node.js: v22.2.0
-Version of @nuxtjs/supabase: 1.1.6
The text was updated successfully, but these errors were encountered:
Sorry I forgot to mention that the error occurs in http://localhost:3000/_nuxt/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@supabase/ssr/dist/module/utils/helpers.js?v=1eda2991 which is this library, right?
Bug report
Describe the bug
Getting
Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.pnpm/[email protected]/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/@[email protected]_@[email protected]/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/[email protected]/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
-Version of @nuxtjs/supabase: 1.1.6
The text was updated successfully, but these errors were encountered: