mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 21:07:47 +00:00
We renamed the GitHub repository from `zeit/now` to `vercel/vercel` so this PR updates all references to the repo URL. There were also a few remaining references to Now CLI that have been updated to Vercel CLI.
20 lines
418 B
Markdown
20 lines
418 B
Markdown
# Missing Env Key and Value
|
|
|
|
#### Why This Error Occurred
|
|
|
|
You specified the `--env` or `-e` flag and didn't add a name and value for the environment variable.
|
|
|
|
#### Possible Ways to Fix It
|
|
|
|
Make sure to set the name and value of the variable like this:
|
|
|
|
```bash
|
|
vercel -e VARIABLE_NAME="VALUE"
|
|
```
|
|
|
|
You can also specify a environment variable that contains a secret:
|
|
|
|
```bash
|
|
vercel -e VARIABLE_NAME=@secret-name
|
|
```
|