create next-app not asking questions
Unanswered
Cape lion posted this in #help-forum
Cape lionOP
I'm trying to create a new nextjs app but the create command is not behaving as expected. After asking for the project name it just spits the entire thing out. Expected behavior is it asking me a list of "do you wants". It is not doing it's expected behavior. With all the npm worm reports I'm hearing about this makes me feel uneasy. Anyone else getting the same result? Do you have a fix?
Tried:
yarn create next-app
npx create-next-app@latest
pnpm create next-app
Tried:
yarn create next-app
npx create-next-app@latest
pnpm create next-app
17 Replies
I know exactly what you're talking about. When I start a project it asks if I want certain settings or if I want to use the last settings I picked
@Cape lion does this happen if you use it like this?
npx create-next-app@latest my-app-nameIncluding the app name in the command ?
its still working for me
@Cape lion what version of node are you on?
Cape lionOP
node 26 and that is the command I'm using. But no, it does not give me the "would you like to..." after "what is your project named?"
what if you add the project name in the create command?
forcing it to skip asking you what the project is names to see if a different work flow changes it
@Cape lion I'm on node 24
Cape lionOP
If I add the name it still does not ask any questions
Plz try
npm cache clean --force then try it@Cape lion
npx create-next-app@latest --reset-preferencesI think this one might be the right one
I'm unsure how to test, I cant seem to reproduce the issue where it doesn't ask
Cape lionOP
I'll try this in the morning (8 or 9 hours from now)
@Cape lion and? did it work?
@Cape lion did it help?