We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/DiskCrasher/next-js-issue
yarn dev
bar
foo
The "Server actions must be async functions" error should appear for both functions.
Operating System: Platform: win32 Arch: x64 Version: Windows 10 Home Available memory (MB): 8050 Available CPU cores: 4 Binaries: Node: 20.11.0 npm: N/A Yarn: N/A pnpm: N/A Relevant Packages: next: 14.2.0-canary.35 // Latest available version is detected (14.2.0-canary.35). eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 5.1.3 Next.js Config: output: N/A
Middleware / Edge (API routes, runtime)
next dev (local), next start (local)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Link to the code that reproduces this issue
https://github.com/DiskCrasher/next-js-issue
To Reproduce
yarn dev
.bar
in file ssc.tsx.bar
function.foo
function even though it's not async.Current vs. Expected behavior
The "Server actions must be async functions" error should appear for both functions.
Provide environment information
Which area(s) are affected? (Select all that apply)
Middleware / Edge (API routes, runtime)
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: