#404 on server side while loading on client (app directory)

38 messages ยท Page 1 of 1 (latest)

stray bobcat
peak ermineBOT
#

๐Ÿ”Ž 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)

stray bobcat
#

I really don't understand. I even see it when building the application:

coarse geode
#

but I had to install @storybook/addon-actions to make it build

stray bobcat
#

Ok so it sounds like some cache things

#

oh oups I missed a --save

coarse geode
#

oh nm, you not using it

stray bobcat
stray bobcat
#

Ah you see

#

I can access it through the client

#

but not the server

#

This is super weird

#

I wonder if it has something to do with the standalone option

#

Ah no, I deleted it because I asumed it could be the issue ๐Ÿ˜„

#

This is interesting:

coarse geode
#

can you try comment out header in layout.tsx and see if it works

#

look like it works for me

stray bobcat
#

Oh it does

coarse geode
#

lol

stray bobcat
#

Interesting, why

coarse geode
#

look like a bug here, but i never had this issue

stray bobcat
#

Ok I will open an issue on the github. Thanks for your time

coarse geode
#

np

#

maybe the name? can using different name instead of header

stray bobcat
#

I try myheader and get the same issue

coarse geode
#

oh

stray bobcat
#

I guess it concerns only content which are rendered as static. Because the homepage works

coarse geode
#

ah I think i know

#

yes it works

#

you should use default.tsx instead of page.tsx for @header

stray bobcat
#

Oh my god, You are awesome

#

You saved me extra hours looking into this

#

I did not see that in the documentation, did I miss it?

stray bobcat
#

Oh great THANK YOU SOOOO MUCH

coarse geode
#

please mark solutions ๐Ÿ˜€