Open patshologram opened 1 year ago
Possible related issues:
@patshologram does this crash your browser when you run it? If so I'm seeing the same issue
It seems to be more than just output: standalone
. On-Demand Revalidation not working if Server Actions are used
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true), Standalone mode (output: "standalone")
Link to the code that reproduces this issue or a replay of the bug
https://github.com/patshologram/revalidation-with-server-actions.git
To Reproduce
yarn
yarn build
node .next/standalone/server.js
Side-Note: I've tried to reproduce this with
13.4.7-canary.1
but I get the following exception with the latest canaryDescribe the Bug
Upon revalidation, an exception is thrown
Removing the
serverActions: true
fromnextjs.config.js
and theuse server
fromactions.ts
leads to a working revalidation.Expected Behavior
On-Demand Revalidation should work despite the activated Server Actions.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
EC2 Instance