diff --git a/packages/core/installMachine/installSteps/payload/removeTurboFlag.ts b/packages/core/installMachine/installSteps/payload/removeTurboFlag.ts index f8dde30..ae9f69d 100644 --- a/packages/core/installMachine/installSteps/payload/removeTurboFlag.ts +++ b/packages/core/installMachine/installSteps/payload/removeTurboFlag.ts @@ -19,7 +19,7 @@ export const removeTurboFlag = async () => { // Remove '--turbo' flag from the "dev" script if (packageJson.scripts && packageJson.scripts.dev) { - packageJson.scripts.dev = packageJson.scripts.dev.replace('--turbo', '').trim(); + packageJson.scripts.dev = packageJson.scripts.dev.replace('--turbopack', '').trim(); } // Write the updated package.json back to the file diff --git a/packages/core/installMachine/installSteps/payload/runInstallCommand.ts b/packages/core/installMachine/installSteps/payload/runInstallCommand.ts index 300cab3..d19862d 100644 --- a/packages/core/installMachine/installSteps/payload/runInstallCommand.ts +++ b/packages/core/installMachine/installSteps/payload/runInstallCommand.ts @@ -5,7 +5,7 @@ export const runInstallCommand = async () => { await logger.withSpinner('payload', 'Installing to Next.js...', async (spinner) => { try { await execAsync( - `echo y | npx create-payload-app@beta --db postgres --db-connection-string ${process.env.DB_URL}`, + `echo y | npx create-payload-app --db postgres --db-connection-string ${process.env.DB_URL}`, ); spinner.succeed('Installation completed.');