diff --git a/packages/fluentui/projects-test/src/nextjs.ts b/packages/fluentui/projects-test/src/nextjs.ts index 145d6ef73ddf60..3d0f2d4df342fc 100644 --- a/packages/fluentui/projects-test/src/nextjs.ts +++ b/packages/fluentui/projects-test/src/nextjs.ts @@ -19,7 +19,7 @@ export async function nextjs() { logger(`✔️ Temporary directories created under ${tempPaths.root}`); logger('STEP 1. Add dependencies to test project'); - const dependencies = ['next', 'react@17', 'react-dom@17'].join(' '); + const dependencies = ['next@12', 'react@17', 'react-dom@17'].join(' '); await shEcho(`yarn add ${dependencies}`, tempPaths.testApp); logger(`✔️ Dependencies were installed`);