Next.js Discord

Discord Forum

Verce CLI breaks on Windows

Unanswered
Yellow-horned horntail posted this in #help-forum
Open in Discord
Yellow-horned horntailOP
#### Description :

Context : We have set vercel : vercel build && vercel deploy --prebuilt in package.json script

On MacOS :
When you yarn vercel, vercel CLI prompts you to "No Project Settings found locally. Run vercel pull for retrieving them? [Y/n]"
![Screenshot 2023-09-28 at 10 28 20 AM](https://github.com/vercel/vercel/assets/80153681/bf6e2fdb-46af-46e5-91ab-ba71a8450313)


On Windows :
It directly exits without letting the user to select the option :
![Screenshot 2023-09-28 at 10 17 14 AM](https://github.com/vercel/vercel/assets/80153681/0882426b-d36a-455b-bf82-c3ebae467986)


Also notice that on Windows it tells you to do vercel pull --yes instead of just vercel pull which is weird


Is there a way to tell vercel CLI that create don't pull previous project settings instead use new one with some flag ?

Tysm 🙌

0 Replies