[Turbo] - The "use server" directive must be at the top of the file. #64863
Unanswered
The-Code-Monkey
asked this question in
Help
Replies: 5 comments
-
I'm having the same issue, did you find any workaround for this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
My code makes same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
this issue is still persisting [email protected] any workaround or permanent fixes ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same for me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue with my project as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hey, i was trying out turbo on a repo for work, which runs fine normally, when moving over to turbo i get this error on dev
Build Error
Failed to compile
Next.js (14.3.0-canary.15) (turbo)
./src/components/SearchBox/functions.ts:1:1
Ecmascript file had an error
The "use server" directive must be at the top of the file.
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions