environment with t3 stack
I was trying to make a environment veriable using t3 stack but i always get error about type not found. how can i solve it?
7 Replies
Hi @dc_alexyt. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain specific details about setting up environment variables using a t3 stack. However, environment variables are a common aspect of many frameworks and languages.
In the context of Next.js, a React framework, environment variables are handled by default and their usage has been made seamless and straightforward from version 9.4 onwards. You can learn more about this from the Next.js environment variables blog (https://refine.dev/blog/next-js-environment-variables#introduction).
For more specific guidance related to your t3 stack, I would recommend referring to the relevant documentation or community forums.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@398749213795680259> kapa.ai is still learning and improving, please let us know how it did by reacting below
rare-sapphire•9mo ago
Hello @dc_alexyt could you be more specific on your issue?
other-emerald•9mo ago
@batuhanw
so i created a enviremonment variable in my nextjs app using t3 stack
this is my env.mjs
also I imported it in my nextconfig.mjs
when i run ci I always get an error
other-emerald•9mo ago
![No description](https://cdn.answeroverflow.com/1194890062983331860/Screenshot_2024-01-11_at_15.26.25.png)
other-emerald•9mo ago
if i run build in my local build succeed.
rare-sapphire•8mo ago
This is not related to refine. It's an issue between T3 and NextJS. Please consider clicking the link in the error message or search google.