Home
Support Forums

Environment variables are undefined in netlify dev

My environment variables were created through the Netlify web UI. They work fine in production but are undefined in dev server i.e. netlify dev.

What am I doing wrong?

Thanks.

Hi @vcamp

Have you linked the project to the Netlify site first using netlify link?

1 Like

You are right—I hadn’t done that yet. Thank you!

1 Like