You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error says exactly what's wrong, you provided an invalid nextauth URL. The readme should tell you what you need to do for nextauth urls if I remember correctly, haven't read it in a bit.
SPECS : -
Error : -
@master-bot/dashboard:dev:
@master-bot/dashboard:dev: ❌ Invalid environment variables: { NEXTAUTH_URL: [ 'Invalid url' ] }
@master-bot/dashboard:dev: file:///home/FireArch/Discord_Bot/node_modules/.pnpm/@t3-oss[email protected][email protected][email protected]/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1
@master-bot/dashboard:dev: import{z as a}from"zod";function f(e){let r=e.runtimeEnvStrict??e.runtimeEnv??process.env;if(e.emptyStringAsUndefined??!1)for(let[t,n]of Object.entries(r))n===""&&delete r[t];if(e.skipValidation)return r;let i=typeof e.client=="object"?e.client:{},o=typeof e.server=="object"?e.server:{},s=typeof e.shared=="object"?e.shared:{},d=a.object(i),T=a.object(o),l=a.object(s),v=e.isServer??typeof window>"u",p=d.merge(l),y=T.merge(l).merge(d),c=v?y.safeParse(r):p.safeParse(r),m=e.onValidationError??(t=>{throw console.error("\u274C Invalid environment variables:",t.flatten().fieldErrors),new Error("Invalid environment variables")}),u=e.onInvalidAccess??(t=>{throw new Error("\u274C Attempted to access a server-side environment variable on the client")});return c.success===!1?m(c.error):new Proxy(c.data,{get(t,n){if(!(typeof n!="string"||n==="_esModule"||n==="$$typeof"))return!v&&e.clientPrefix&&!n.startsWith(e.clientPrefix)&&l.shape[n]===void 0?u(n):t[n]}})}var x="NEXT_PUBLIC";function P(e){let r=typeof e.client=="object"?e.client:{},i=typeof e.server=="object"?e.server:{},o=e.shared,s=e.runtimeEnv?e.runtimeEnv:{...process.env,...e.experimental__runtimeEnv};return f({...e,shared:o,client:r,server:i,clientPrefix:x,runtimeEnv:s})}export{P as createEnv};
@master-bot/dashboard:dev:
Full Logs :-
https://pastebin.com/KrhgZjHk
Please Help me
The text was updated successfully, but these errors were encountered: