Moving towards Nextjs 15, I’m getting this error when building
/node_modules/@builder.io/dev-tools/next/index"’ has no default export.
This is “@builder.io/dev-tools”: “^1.1.35” for a page model updated for Nextjs 15
Moving towards Nextjs 15, I’m getting this error when building
/node_modules/@builder.io/dev-tools/next/index"’ has no default export.
This is “@builder.io/dev-tools”: “^1.1.35” for a page model updated for Nextjs 15
Building with Node v20.11.1
Hello @jasperkooij,
Thank you for reporting this potential issue. We have been able to replicate it on our end, and we suspect it may be related to the compatibility of the dev tools with Next 15. We will investigate this further and keep you updated on our progress.
In the meantime, the dev tools appear to be functioning properly despite the error. You can continue with your upgrade, and please let us know if you encounter any other issues.
Best regards,
Hi Manish,
Thanks for the update. I can develop locally, everything seems to be working fine but I can’t build my project for now.
Hello @jasperkooij,
I wanted to update you that a fix has been deployed to improve dev-tools support with Next.js 15. The issue with the default export error should now be resolved. Please verify the changes and let us know if you encounter any further issues.
Best regards,
@manish-sharma Thanks for the update!
Are these the versions that I need for the update?
"@builder.io/dev-tools": "^1.1.39",
"@builder.io/react": "^7.0.1",
"@builder.io/sdk": "^5.0.0",
"@builder.io/sdk-react": "^3.0.0",
Hello @jasperkooij,
Apologies. It seems the fix has been merged but not yet made available in production. I’ll update you about the latest versions as soon as they’re deployed live.
@manish-sharma Thanks for checking!
Hello @jasperkooij,
The fix is expected to be released next week in production. We will notify you once it’s available.
Best regards,
@manish-sharma Thanks for the update!
Hi @jasperkooij - I am glad to confirm that the fix has been released.
@manish-sharma Then with Nextjs 15 breaking changes, is this the recommended way to update the page in the app router to display the Builder page content?