Next.Js Module not found: Can’t resolve after changing path
I am encountering an issue after changing the directory of the EmptyTable.tsx file. Initially, the file was located at views/forms-tables/tables/react-table/EmptyTable, and I decided to move it to a new location: components/Tables/EmptyTable. Despite updating the import path in my code to reflect this change, the compiler continues to show me an error message indicating that it cannot resolve the module.
Internal error: RangeError: Maximum call stack size exceeded Next.js React
so I’ve been having this “⨯ Internal error: RangeError: Maximum call stack size exceeded” for awhile and I can’t seem to figure out what is causing it. I’m trying to make it so that when the “Add to Cart” button is clicked, then it increments the amount of items in the cart by 1.
Unexpected token Delim(‘$’) at [project]/src/styles/globals.css
I’m using Nextjs with TailwindCSS. I have tried to use AceternityUI library components and think that is leading to this error. or maybe not?
Server Action to a Client Component as a prop TS Warning
I am having a TS warning when I pass a server action into my client component. It does not give a compile error, so I could ignore but I’d prefer to get rid of the warning.
Color of the initial page of my web app turns white (bug?) [closed]
Closed 13 secs ago.
Color of the inicial page of my web app turns white (bug?)
I’m currently developing a web app to manage cars. I created the log in and register logic, and after I logout from my account, it goes back to my inicial page, but the background color bugs and just appears as white, but after I refresh the page, it goes back to normal. Does it ever happened to anyone?
(I’m currently using next.js, react, tailwind css, pocketbase and shadcn ui).
How to export useContext in a page.tsx file?
This causes an error when deploying to vercel export const [weight] = React.useContext(Context);
I have narrowed it down to the fact that export default function Home()
also uses export and for some reason anything else export on the page just breaks this.
custom react nextjs hook
trying to use a custom hook so as to separate CSR from SSR on the NAV, but when I Import the custom hook, it saying useMenuState is not a function. WHat could be the problem.
usemenustat.tsx
react-audio-voice-recorder recording gets sent on cancel as well
I am using react-audio-voice-recorder
library to implement voice recordings in a chatting app. https://www.npmjs.com/package/react-audio-voice-recorder
Next 13 server props
In Next 13, I have a list of products with categories. I want to put these categories into constants so I can check if a product is from one category or another. For example: