diff --git a/code/lib/cli-storybook/src/sandbox-templates.ts b/code/lib/cli-storybook/src/sandbox-templates.ts index 8ae1362564ce..bf38070e0161 100644 --- a/code/lib/cli-storybook/src/sandbox-templates.ts +++ b/code/lib/cli-storybook/src/sandbox-templates.ts @@ -210,7 +210,7 @@ const baseTemplates = { 'experimental-nextjs-vite/default-ts': { name: 'Next.js Latest (Vite | TypeScript)', script: - 'yarn create next-app {{beforeDir}} --typescript --eslint --tailwind --app --import-alias="@/*" --src-dir', + 'npx create-next-app@^14 {{beforeDir}} --typescript --eslint --tailwind --app --import-alias="@/*" --src-dir', expected: { framework: '@storybook/experimental-nextjs-vite', renderer: '@storybook/react',