Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
env-nextjs error - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
3 replies
camdressler
env-nextjs error
Hey y
'all
. Working a new project using t3
-oss
/env
-nextjs and I
'm getting this error when trying to start up the app
. Anyone seen this b4
?
Invalid environment variables
:
{
NODE
_ENV
:
[
"Expected
'development
'
|
'production
'
, received object
"
]
,
DATABASE
_URL
:
[
'Expected string
, received object
'
]
,
NEXTAUTH
_URL
:
[
'Expected string
, received object
'
]
,
NEXTAUTH
_SECRET
:
[
'Expected string
, received object
'
]
,
GITHUB
_ACCESS
_TOKEN
:
[
'Expected string
, received object
'
]
,
SMTP
_FROM
:
[
'Expected string
, received object
'
]
,
SMTP
_HOST
:
[
'Expected string
, received object
'
]
,
SMTP
_PORT
:
[
'Expected number
, received object
'
]
,
POSTMARK
_API
_TOKEN
:
[
'Expected string
, received object
'
]
,
STRIPE
_SECRET
_API
_TOKEN
:
[
'Expected string
, received object
'
]
,
STRIPE
_PUBLIC
_API
_TOKEN
:
[
'Expected string
, received object
'
]
,
STRIPE
_WEBHOOK
_API
_TOKEN
:
[
'Expected string
, received object
'
]
,
DISCORD
_NOTIFICATION
_WEBHOOK
:
[
'Expected string
, received object
'
]
,
NEXT
_PUBLIC
_APP
_URL
:
[
'Required
'
]
}
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
nextjs env t3 runtime error
TTC
Theo's Typesafe Cult / questions
3y ago
Invalid env variables Nextjs
TTC
Theo's Typesafe Cult / questions
3y ago
env-nextjs not able to find .env variables
TTC
Theo's Typesafe Cult / questions
3y ago
How to read client env using env-nextjs
TTC
Theo's Typesafe Cult / questions
3y ago