SyntaxError: Cannot use import statement outside a module. t3 env

Hello, I am having an error while following the t3 env stack's documentation.
error
4 Replies
Matvey
Matvey15mo ago
rename next.config.js to next.config.mjs if it has module.exports = , replace it with export default
Nduka Success
Nduka SuccessOP15mo ago
Thank you
Nduka Success
Nduka SuccessOP15mo ago
Now i am getting this error
No description
code
Nduka Success
Nduka SuccessOP15mo ago
nvm working now i had forgot update the server env types. Thank you!
Want results from more Discord servers?
Add your server