There were no problems in the build command, however when I click on the link it shows this error on the console: Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
#Deployment link to vercel doesn't work
50 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in <id:customize>
✅ You can mark a message as the answer for your post with `Right click -> Apps -> Mark Solution`
(if you don't see the option, try refreshing Discord with Ctrl + R)
well your server component crashed
which is a bug in your code that you need to fix
well where can I find the mistake that's the thing
because in development I can't find a single error.
You might try npm run build and see if you can the error there
on your local environment
I tried it
Damn
Ok so that would usually mean an Environment variable issue
You might find that the variables in vercel aren't always added into your .env file. which is annoying as hell.
well now the page has a 504: GATEWAY_TIMEOUT error
I took all my variables from .env and added them to Environment variables
idk if this is a nextjs or vercel problem
would providing the source code help you
try running a simple npm update command
did you not just get an error
damnit I have a different issue now
Well there you go
Well I was getting no errors until about that time myself, I am working on next auth deployment and my aws builds failed in almost the exact same way, no error, just that NPM failed. But have verbose logging enabled on AWS so was able to track it down to a MAIN REPO is down.
which would translate to a gateway timeout
what alternatives can I try for nextjs
maybe vercel is the problem
vercel alternatives sorry
Unfortunatly.... no. The the repository for building the code is ran every time you build. That means that code cannot be run, and therefore builds fail.
And no, because the same thing is happening to me on AWS and on a privately held server that my friend lets me host with.
sitting duck
we just have to wait until npm is back up
can you help me with my problem?
ok
get your own question post lol