-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐞 错误报告 本地启动报错 #132
Comments
@AmosWong1998 把 |
感谢大哥这个问题已经解决了,但是有个新的报错: Import trace for requested module: https://nextjs.org/docs/messages/module-not-found Import trace for requested module: https://nextjs.org/docs/messages/module-not-found Import trace for requested module: https://nextjs.org/docs/messages/module-not-found 本机的node版本是18.16.1 |
@AmosWong1998 网络问题。如果只是部署的话,可以直接使用 vercel,如果想运行一遍代码,可以使用 codespace |
错误报告 🐞
异常信息:
event - compiled client and server successfully in 2.9s (2115 modules)
wait - compiling...
event - compiled successfully in 723 ms (1977 modules)
wait - compiling /404 (client and server)...
event - compiled client and server successfully in 548 ms (2118 modules)
Error: either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!
at createBrowserSupabaseClient (D:\Work\BibiGPT\node_modules@supabase\auth-helpers-nextjs\dist\index.js:307:11)
at eval (webpack-internal:///./pages/_app.tsx:60:172)
at useReducer (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:5079:57)
at Object.useState (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:5017:10)
at useState (D:\Work\BibiGPT\node_modules\react\cjs\react.development.js:1622:21)
at MyApp (webpack-internal:///./pages/_app.tsx:60:77)
at renderWithHooks (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:5658:16)
at renderIndeterminateComponent (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:5731:15)
at renderElement (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:5946:7)
at renderNodeDestructiveImpl (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:6104:11)
at renderNodeDestructive (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:6076:14)
at renderIndeterminateComponent (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:5785:7)
at renderElement (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:5946:7)
at renderNodeDestructiveImpl (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:6104:11)
at renderNodeDestructive (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:6076:14)
at renderNode (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:6259:12)
at renderChildrenArray (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:6211:7)
at renderNodeDestructiveImpl (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:6141:7)
at renderNodeDestructive (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:6076:14)
at renderElement (D:\Work\BibiGPT\node_modules\react-dom\cjs\react-dom-server.browser.development.js:5971:9)
at renderNodeDestructiveImpl (D:\Work\BibiGPT\node_modules\rea
错误描述 🤔
已经在项目的.example.env文件中配置了NEXT_PUBLIC_SUPABASE_URL和NEXT_PUBLIC_SUPABASE_ANON_KEY属性,但是启动还是报错,报错的大意是没有配置这两个属性:
The text was updated successfully, but these errors were encountered: