The most likely issue is that react-awesome-reveal is trying to access browser APIs during server-side rendering. I think by ensuring these components only render on the client side, you should be able to get your animations working.
Try these steps
- Create a client-side wrapper component as shown in the first solution
- Use that wrapper in your Next.js pages or components
- Make sure your CSS doesn't interfere with animations
- Configure Next.js properly for Emotion (which react-awesome-reveal uses under the hood)