-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SpeedInsights import causes breaking changes on pages router #72
Comments
Hello @ingridkindem . Would you mind trying it please? If it does not fix it, I'll need a reproduction code sandbox like this one. |
@ingridkindem, could you please create a code sandbox for it? I've never managed to reproduce it. |
Nextjs with pages router.
Versions to reproduce:
When I add the
<SpeedInsights />
to _app.tsx, the app breaks. When trying to build the project, I getGenerating static pages (0/2) [ ]TypeError: Cannot read properties of null (reading 'entries')
.Related issues:
/pages
app:SpeedInsights
import causes breaking changes #37TypeError: Cannot read properties of null (reading 'entries')
#56I have tried to work around this with different versions, but not being able to find anything that works. Have deleted my .next folder and rebuilt the project for each install.
Any suggestions for compatible package versions that would make the build pass?
The text was updated successfully, but these errors were encountered: