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
__
NODE_
env
next.config.js
Rename the specified key so that it does not start with __ or NODE_.