vercel / next.js

The React Framework
https://nextjs.org
MIT License
126.94k stars 26.98k forks source link

Can't use --skip-install (or --yes) flags in @ versions for CLI #71590

Closed destocot closed 3 weeks ago

destocot commented 3 weeks ago

Verify canary release

Provide environment information

linux-mint
bash
node v20

Which example does this report relate to?

CLI

What browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

Describe the Bug

`❯ npx create-next-app@latest potato-salad --skip-install --yes Creating a new Next.js app in /home/destocot/potato-salad.

Using npm.

Initializing project with template: app-tw

Initialized a git repository.

Success! Created potato-salad at /home/destocot/potato-salad

~ ❯ npx create-next-app@14.1.1 egg-salad --skip-install --yes ✔ Would you like to use TypeScript? … No / Yes ✔ Would you like to use ESLint? … No / Yes ✔ Would you like to use Tailwind CSS? … No / Yes ✔ Would you like to use src/ directory? … No / Yes ✔ Would you like to use App Router? (recommended) … No / Yes ✔ Would you like to customize the default import alias (@/*)? … No / Yes Creating a new Next.js app in /home/destocot/egg-salad.

Using npm.

Initializing project with template: app-tw

Installing dependencies:

Installing devDependencies:

npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.

added 365 packages, and audited 366 packages in 18s

136 packages are looking for funding run npm fund for details

1 high severity vulnerability

To address all issues, run: npm audit fix --force

Run npm audit for details. Initialized a git repository.

Success! Created egg-salad at /home/destocot/egg-salad

A new version of create-next-app is available! You can update by running: npm i -g create-next-app`

Expected Behavior

Skip install (and even the yes arguments) should apply to command

To Reproduce

Run npx create-next-app@14.1.1 egg-salad --skip-install --yes

samcx commented 3 weeks ago

@destocot Please re-submit using the correct bug report/issue template so the proper information is shared for triaging the issue!

github-actions[bot] commented 1 week ago

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.