Deployed to Vercel - Bugs in Navbar
Unanswered
Great Skua posted this in #help-forum
Great SkuaOP
Hi,
I deployed to vercel, and every menu in my navbar shows 1 missing item like this, and it only happens in production. Can anyone help me and check what is the problem?
This is the GitHub repo with Navbar opened: https://github.com/aviran-abramov/truedamage.gg/blob/main/components/layout/AppHeader/UserNavigation/Navbar.tsx
Thanks for help
I deployed to vercel, and every menu in my navbar shows 1 missing item like this, and it only happens in production. Can anyone help me and check what is the problem?
This is the GitHub repo with Navbar opened: https://github.com/aviran-abramov/truedamage.gg/blob/main/components/layout/AppHeader/UserNavigation/Navbar.tsx
Thanks for help
10 Replies
@Great Skua Hi,
I deployed to vercel, and every menu in my navbar shows 1 missing item like this, and it only happens in production. Can anyone help me and check what is the problem?
This is the GitHub repo with Navbar opened: https://github.com/aviran-abramov/truedamage.gg/blob/main/components/layout/AppHeader/UserNavigation/Navbar.tsx
Thanks for help
Netherland Dwarf
Have you tried a local production build
To check for any errors
In the dev tools
@Netherland Dwarf Have you tried a local production build
Great SkuaOP
npm run build? it shows no errors
Netherland Dwarf
Okay, do you still get the missing link
With npm run build
@Netherland Dwarf Okay, do you still get the missing link
Great SkuaOP
I'm still new to this deployment, can you explain? I do npm run build or git push, i wait 1 minutes for vercel to finish, then i go to the site, and i have 1 missing item all the time
If i go to localhost, its all there
If i go to localhost, its all there
I'm working on this issue now btw
@Great Skua I'm still new to this deployment, can you explain? I do npm run build or git push, i wait 1 minutes for vercel to finish, then i go to the site, and i have 1 missing item all the time
If i go to localhost, its all there
Netherland Dwarf
Sorry I meant if you still experience this issue in local production
@Netherland Dwarf Sorry I meant if you still experience this issue in local production
Great SkuaOP
Oh, no I don't. But looks like I somehow found a way to fix this - copied the ShadCN menu and started over