npx create-next-app@latest
Unanswered
Giant Chinchilla posted this in #help-forum
Giant ChinchillaOP
I dont get to choose options likes i used to. it just installs everything via a template?
17 Replies
@Giant Chinchilla I dont get to choose options likes i used to. it just installs everything via a template?
are you sure you run
npx create-next-app@latest without any additional arguments? it works for medo you have any env vars indicative of CI environments like
CI=true? if yes, remove it@joulev are you sure you run `npx create-next-app@latest` without any additional arguments? it works for me
Spectacled bear
what impact does it have? like CI=true ?
@Spectacled bear what impact does it have? like CI=true ?
if you simulate a CI environment like with
CI=true or some other env vars, you may trick ciInfo here into thinking create-next-app is being run in a CI environment which makes it auto-select options: https://github.com/vercel/next.js/blob/0cd20e0ea5e5fc93cbf4c7d164c3b33c5283bdcb/packages/create-next-app/index.ts#L280-L283@joulev are you sure you run `npx create-next-app@latest` without any additional arguments? it works for me
Giant ChinchillaOP
yes only option it gives me is project name i tried many things before coming here nothing worked
[Check your system environment variables](https://superuser.com/q/341192). Is there an environment variable with the word
CI in its name?@joulev it works fine for me
Giant ChinchillaOP
@Giant Chinchilla Click to see attachment
does it work if you used cmd.exe instead of powershell?
this is certainly a create-next-app bug
@joulev does it work if you used cmd.exe instead of powershell?
Giant ChinchillaOP
i dont think so but i can try
@Giant Chinchilla Click to see attachment
remove the CI environment variable then try again
Giant ChinchillaOP
alr but its same with cmd
still doesnt work
then i have no idea, sorry
Giant ChinchillaOP
yeah its alr its prob a bug