-
-
Notifications
You must be signed in to change notification settings - Fork 268
fix: resolve Next.js version mismatch for studio/preview #1902
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
fix: resolve Next.js version mismatch for studio/preview #1902
Conversation
🦋 Changeset detectedLatest commit: bfc2614 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Changeset has been generated for this PR as part of auto-changeset workflow.Please review the changeset before merging the PR.If you are a maintainer or the author of the PR, you can change the changeset by clicking here Tip If you don't want auto-changeset to run on this PR, you can add the label |
|
|
@Kartikayy007 I am using your commits in a new branch with fixes for release pipeline as well. |
Sure @Shurtu-gal |



Description
@asyncapi/studio(built for Next 14) against the CLI’s hoisted Next 15 runtime.src/domains/models/Studio.tsandsrc/domains/models/Preview.tsto resolve and usenextfrom the@asyncapi/studioinstallation (viarequire.resolveand a small factory helper), ensuring the Next.js version matches the Studio build.npm run build, manual runs ofnode ./bin/run start studioandnode ./bin/run start preview(no Next error, Studio/Preview load correctly), andnpm run cli:test -- test/integration/studio.test.ts.Related issue(s)