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
I verified that the issue exists in the latest next-safe-action release
Is there an existing issue for this?
I have searched the existing issues and found nothing that matches
Describe the bug
Hi,
How can i fix the [ Server ] Error: (0 , {imported module [project]/nodemodules/.pnpm/[email protected]@[email protected][email protected]/nodemodules/next/dist/client/components/redirect.js [app-rsc] (ecmascript)}.isRedirectError) is not a function with 15.2.1-canary.1
I have an issue there with latest version of 15.2.1-canary.1 and next-safe-action latest version.
I tried with [v7.9.10-beta.1] but still have error when i throw a new ActionError.
I'm stuck here because i have to use experimental Middleware on nodejs from 15.2.1-canary.1 because i use NextAuth with drizzle and Pg. There is an issue with crypto (nodejs) with pg lib used by NextAuth DrizzleAdapter... (not compatible with next middleware on the edge in previous next version)
Middleware in nodejs in 15.2.1-canary.1 save my life XD so i don't know how to deal with that issue, i understand next change proccess to handle Errors... but how to deal with that ?
Thanks
Reproduction steps
Use latest version of canary which use experimental middleware and use next safe action and throw an error
Expected behavior
Not throwing a isRedirectError
Link to a minimal reproduction of the issue
https://
Operating System
Mac OS
Library version
7.10.4
Next.js version
15.2.1-canary.1
Node.js version
20.18.0
Additional context
No response
The text was updated successfully, but these errors were encountered:
Are you using the latest version of this library?
Is there an existing issue for this?
Describe the bug
Hi,
How can i fix the [ Server ] Error: (0 , {imported module [project]/nodemodules/.pnpm/[email protected]@[email protected][email protected]/nodemodules/next/dist/client/components/redirect.js [app-rsc] (ecmascript)}.isRedirectError) is not a function with 15.2.1-canary.1
I have an issue there with latest version of 15.2.1-canary.1 and next-safe-action latest version.
I tried with [v7.9.10-beta.1] but still have error when i throw a new ActionError.
I'm stuck here because i have to use experimental Middleware on nodejs from 15.2.1-canary.1 because i use NextAuth with drizzle and Pg. There is an issue with crypto (nodejs) with pg lib used by NextAuth DrizzleAdapter... (not compatible with next middleware on the edge in previous next version)
Middleware in nodejs in 15.2.1-canary.1 save my life XD so i don't know how to deal with that issue, i understand next change proccess to handle Errors... but how to deal with that ?
Thanks
Reproduction steps
Use latest version of canary which use experimental middleware and use next safe action and throw an error
Expected behavior
Not throwing a isRedirectError
Link to a minimal reproduction of the issue
https://
Operating System
Mac OS
Library version
7.10.4
Next.js version
15.2.1-canary.1
Node.js version
20.18.0
Additional context
No response
The text was updated successfully, but these errors were encountered: