diff --git a/packages/create-next-app/create-app.ts b/packages/create-next-app/create-app.ts index 246d333ea3f99c..26ee0b5be9d826 100644 --- a/packages/create-next-app/create-app.ts +++ b/packages/create-next-app/create-app.ts @@ -44,7 +44,7 @@ export async function createApp({ try { repoUrl = new URL(example) - } catch (error: any) { + } catch (error) { if (error.code !== 'ERR_INVALID_URL') { console.error(error) process.exit(1) @@ -203,7 +203,6 @@ export async function createApp({ */ const packageJson = { name: appName, - version: '0.1.0', private: true, scripts: { dev: 'next dev',