vercel: Alias immediately after a deploy now fails
my npm deploy script is
now --public deploy build/ && now alias alwaysinmind
but sometime the alias errors wit ha message that the deployment is not ready.
Would it be possible to make the deploy wait?
If not do you have any other suggestions - eg a portable delay cmd 😃
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 5
- Comments: 51 (9 by maintainers)
We are investigating the issue. We recently started to enforce that an alias can’t be pointed to a deployment that can’t handle traffic. Unfortunately it seems these changes had some side effects.
In fact sometime the deploy is failing.
and no more status outputs to console
Should be fixed by now! It was a tricky (but simple) issue that was only affecting requests being served by bru.now.sh. I’m in Brazil, so I’m being served by sfo.now.sh – that’s why I had a hard time reproducing it.
@SteveALee could you confirm it doesn’t happen anymore? 🙂
I just started getting this issue. It used to exit after deploying, now after running
nowit sits for about 60s then says:@matheuss I can confirm it’s working again for me. Thanks for the fix. 👍
@SteveALee crap that’s my bad!
aliasis the correct name, my apologies. Thanks for the pickup @matheuss .@matheuss yes it seemed a strange use of ‘files’ 😃
Glad you got some useful intell!
@matheuss sure, will try ASAP 😃
Sleep got removed from windows and replaced with timeout ages ago.
I find in git for windows bash that timeout always runs the bash version of timeout which is no use. Hence the one line portable node script I posted above.
A hacky
package.jsonscript to give a portable delay till this command becomes synchronous againThe CLI exits successfully after initializing - This started happening to me after updating to 0.9.3