Next.js Discord

Discord Forum

How to override the terminal questions

Answered
Cape horse mackerel posted this in #help-forum
Open in Discord
Cape horse mackerelOP
so I'm trying to automate the project creation by executing cmds like this
npx.cmd create-next-app@latest projectname --javascript --no-eslint --no-tailwind --no-src-dir --no-app --no-turbopack --no-import-alias --skip-install C:\Users\user\AppData\Roaming\com.locally.app\projects

but i still get this in the terminal
Need to install the following packages:
create-next-app@15.3.1
Ok to proceed? (y)

how can i override this to automatically say yes I tried the --yes flag but still

3 Replies