Uncached data was accessed outside of <Suspense> With Params #85748
              
                Unanswered
              
          
                  
                    
                      TheBikerAmir
                    
                  
                
                  asked this question in
                Help
              
            Replies: 1 comment 2 replies
-
| 
         Got a repo we could take a look at? or file system tree I could replicate somewhere else?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hey I just try to Change My Component The way cached components must be but i got confused because its work fine during the dev but got break in build
according to this https://nextjs.org/docs/messages/blocking-route#params-and-searchparams
i create two component and pass params promises to the child component but got this
Error: Route "/[locale]/events/(..)events/[slug]": Uncached data was accessed outside of . This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route
at ignore-listed frames
To get a more detailed stack trace and pinpoint the issue, try one of the following:
next dev, then open "/[locale]/events/(..)events/[slug]" in your browser to investigate the error.next build --debug-prerenderto generate better stack traces.Error occurred prerendering page "/[locale]/events/(..)events/[slug]". Read more: https://nextjs.org/docs/messages/prerender-error
Export encountered an error on /[locale]/events/@modal/(..)events/[slug]/page: /[locale]/events/(..)events/[slug], exiting the build.
⨯ Next.js build worker exited with code: 1 and signal: null
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions