-
| 
         Hey there!, I have an app which builds and deploys (on netlify ) successfully but on visiting the page it shows 500 internal error and also logs in console that   | 
  
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
| 
         That is a strange error, you can try setting the favicon to a blank image so that the browser doesn't default to making the request. You can add this to app.html and see if that helps.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         I have the same problem with the build step. The site works perfectly fine in dev. However, whenever I attempt to build it, it throws the error  From my understanding, according to the docs, you can disable these warning with: /** @type {import('@sveltejs/kit').[Config](https://kit.svelte.dev/docs/types#public-types-config)} */
const config = {
    kit: {
        prerender: {
            // handleHttpError accepted values are:
            // 'fail' | 'warn' | 'ignore' | function handler as shown below
            handleHttpError: ({ path, referrer, message }) => {
                // ignore deliberate link to shiny 404 page
                if (path === '/not-found' && referrer === '/blog/how-we-built-our-404-page') {
                    return;
                }
                // otherwise fail the build
                throw new [Error](https://kit.svelte.dev/docs/types#app-error)(message);
            }
        }
    }
};I too would very much appreciate the assistance in figuring out the cause of this issue. 🙏  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Here's the repo link if anyone wants (app curently lives in secondary branch)  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Finally it seems that a supabase auth helper function was the issue   | 
  
Beta Was this translation helpful? Give feedback.
Finally it seems that a supabase auth helper function was the issue
const {data: { session } } = await supabase.auth.getSession();Thanks for the replies!