From 09ff9cda9faaf0b28e863a2a06aa593fc056d6f4 Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 21 Dec 2020 15:12:32 -0500 Subject: [PATCH] [docs] Fix error message when credentials are missing (#5590) --- errors/no-credentials-found.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/errors/no-credentials-found.md b/errors/no-credentials-found.md index 6dbee2bec..982371e81 100644 --- a/errors/no-credentials-found.md +++ b/errors/no-credentials-found.md @@ -6,5 +6,5 @@ You're running Vercel CLI in a non-terminal context and there are no credentials #### Possible Ways to Fix It -- Specify a value for the `--token` flag (this needs to be the token of the user account as which you'd like to act). You can either get the token from the `./vercel/auth.json` file located in your user directory or [from the dashboard](https://vercel.com/account/tokens). -- Ensure that both `~/vercel/auth.json` and `~/vercel/config.json` exist +- Specify a value for the `--token` flag (this needs to be the token of the user account as which you'd like to act). You can create a new token on your [Settings page](https://vercel.com/account/tokens). +- Run `vercel login` to sign in and generate a new token