Vercel deployment with specific Vercel CLI version.
Unanswered
Black Catbird posted this in #help-forum
Black CatbirdOP
Hi, I have a Next.js app in Vercel - Is there any way I can deploy the app by using a specific version of Vercel CLI?
Currently it seems like its using Vercel CLI 31.2.1 - But I'd like to downgrade it to 31.0.4 due to this issue; https://github.com/vercel/next.js/issues/53502
Currently it seems like its using Vercel CLI 31.2.1 - But I'd like to downgrade it to 31.0.4 due to this issue; https://github.com/vercel/next.js/issues/53502
5 Replies
@Black Catbird Hi, I have a Next.js app in Vercel - Is there any way I can deploy the app by using a specific version of Vercel CLI?
Currently it seems like its using Vercel CLI 31.2.1 - But I'd like to downgrade it to 31.0.4 due to this issue; https://github.com/vercel/next.js/issues/53502
i don't know how to do it with the vercel git integration but try running
vercel build then vercel deploy --prod --prebuilt locally using the vercel CLI you wantBlack CatbirdOP
Thanks @joulev - yeah, I am currently using Verceli CLI 31.0.4 locally and could deploy just fine - but I need this to work for the whole team as it might be hard to cross-KT with the team to setup their vercel-cli locally
hmm then you can use a github actions or a similar workflow to deploy using your preferred version of the CLI
i don't know any way to configure this for the native git integration though and i doubt it is even possible
Black CatbirdOP
I see - this i18n changes was uncalled for :/ - However, thanks a lot for the suggestion! Ill have a look around a bit more otherwise ill remove the custom 404 page for now (not sure if it'd fix it though)