Error: Failed to find Server Action. This request might be from an older or newer deployment. Original error: Cannot read properties of undefined (reading 'workers') #65969
Unanswered
AndreaDelliGatti
asked this question in
Help
Replies: 2 comments 14 replies
-
i have this issue too can not find anything on this. did you found already a solution? |
Beta Was this translation helpful? Give feedback.
6 replies
-
Seems like a bug with importing, eg:
export * from './actions'
If you import from the cc @shuding (sorry for the ping) |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I'll explain what my problem is.
I have a package in which I expose a client component that calls a server action on a button click.
Now if I use this component in my nextjs application within a server component it works normally.
However, if I use this component within another client component I receive the following error.
Help me solve this problem. I can't figure it out.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions