Replaying doesn’t work
Troubleshooting replay problems is done easiest by enabling logging. Next, when replaying check your console logs. If you don’t see anything saying that replay data has been loaded, usually the problem is the following;- You haven’t set
modesetting to'replay' - You haven’t deleted build cache (for example Next.JS
.nextfolder), so the old configuration file is cached - You have built your code with
NODE_ENVset to'production', which has causedmodeto be set to'capture'as a security measure.
Solution
Make sure that the correct mode is enabled, build withNODE_ENV set to 'development', and clear possible cache folders.
