### Steps to reproduce 1. yarn create toolpad-app 2. Choose Next.js with no authentication 3. `yarn build` throws this error: <img width="790" alt="Image" src="https://github.com/user-attachments/assets/bc573fb0-aaac-42b9-a271-16e8c17c0bc0" />