Next.js Discord

Discord Forum

Next Build

Answered
Channel catfish posted this in #help-forum
Open in Discord
Channel catfishOP
Hi when build next projetc I get this in the photo. How can I this error .
Answered by B33fb0n3
View full answer

16 Replies

Answer
@B33fb0n3 Do this and it's solved: https://nextjs.org/docs/messages/prerender-error
Channel catfishOP
thanks very much for your documentation but I dont solved . I have been trying for 2 days. can you help me if you want I shared my screen to you in discord . good evening
@B33fb0n3 what did you tried yet?
Channel catfishOP
I cleaned admin files . running my project but when I build I get same error
I cleaned admin files
can you clarify what you did in detail?
@B33fb0n3 > I cleaned admin files can you clarify what you did in detail?
Channel catfishOP
for example my admin folder there are redux or adminSlide .I moved outside admin folder after I examined my codes I simplified codes this like my admin folder
@B33fb0n3 what's inside your App.tsx?
Channel catfishOP
"use client"
import { store } from "@/redux/store";
//import StoreProvider from "@/redux";
import React from "react"
import { Provider } from "react-redux";
const App=({children}:{children:React.ReactNode})=>{
    return  <Provider store={store}>{children}</Provider>

  
    
};
export default App;
@Channel catfish hm it's pretty hard to determine where the error comes from when not beeing inside your project. Can you provide an reproduction of the error for example via github or [codesandbox](https://codesandbox.io/)? Like that we can solve your issue while you are offline 🙂
@Channel catfish thanks very much I solved error
which message of this thread solved your error?
@B33fb0n3 which message of this thread solved your error?
Channel catfishOP
I reviewed the post you sent and noticed the difference in layout and irregularity of the pages and resolved it.