Error: Failed to find Server Action "84c...c2". This request might be from an older or newer deployment. Original error: Cannot read properties of undefined (reading 'workers') #70229
Labels
bug
Issue was opened via the bug report template.
linear: next
Confirmed issue that is tracked by the Next.js team.
Link to the code that reproduces this issue
https://github.com/72L/failed-to-find-server-action
To Reproduce
heroku git:remote -a [your-app]
andgit push heroku main
git push heroku main
Current vs. Expected behavior
I would expect the outcome of step 2 to be the same as the outcome of step 6.
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:41 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8103 Available memory (MB): 16384 Available CPU cores: 8 Binaries: Node: 18.20.2 npm: 10.5.0 Yarn: 1.22.19 pnpm: 6.29.0 Relevant Packages: next: 14.2.12 // Latest available version is detected (14.2.12). eslint-config-next: 14.2.12 react: 18.3.1 react-dom: 18.3.1 typescript: 5.6.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
Other (Deployed)
Additional context
It does work on Vercel, but not Heroku. I've tried some ideas from #58431 but none of them solved this issue.
The text was updated successfully, but these errors were encountered: