Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 377 Bytes

env-key-not-allowed.md

File metadata and controls

9 lines (5 loc) · 377 Bytes

The key "" under "env" in next.config.js is not allowed.

Why This Error Occurred

Next.js configures internal variables for replacement itself. These start with __ or NODE_, for this reason they are not allowed as values for env in next.config.js

Possible Ways to Fix It

Rename the specified key so that it does not start with __ or NODE_.