tigawana
tigawana12mo ago

Remote KV access error : Missing DENO_KV_ACCESS_TOKEN environment variable

i wen through the recomnded steps of adding a .env to the root of the project and adding
DENO_KV_ACCESS_TOKEN=ddp_an_access_token
DENO_KV_ACCESS_TOKEN=ddp_an_access_token
but it's still giving that env not found error
5 Replies
lcasdev
lcasdev12mo ago
Are you loading the .env with --env?
tigawana
tigawanaOP12mo ago
.env
lcasdev
lcasdev12mo ago
Do you pass the flag I mentioned to deno run?
tigawana
tigawanaOP11mo ago
no , am not pssing in --env
lcasdev
lcasdev11mo ago
Pass that flag, otherwise Deno won’t lead your .env file