Atyantik/react-pwa

500 (Internal Server Error)

naga-RajanR opened this issue · 5 comments

I am working on a project with react-pwa boilerplate, where I show different pages based on user login or not. I am using cookies to check whether the user login or not. This error comes only when user is not logged in. (i.e. Login Page). Can you please help me what am missing here.
err3

@naga-RajanR what exactly is the 500 error? Does the terminal display any details regarding the same?

@tirthbodawala no it shows a blank page like this
err4

and in console am getting this
err6

@naga-RajanR Please share the output of the terminal. The 500 error indicates that something you are using is throwing error with nodejs script that is trying to run it. Check your CMD/Terminal/iTerm for more details.

yeah sure
err7

and this is that file am getting error

<title>Bazaartrack: An App for you to buy and sell products</title><script>var loadPJS=function(e,a){var n=document.createElement("script");n.src=e,n.onload=a,n.onreadystatechange=a,document.body.appendChild(n)};var fnLoadPJS = function(e,a){return function() {return loadPJS(e,a)}};</script><script type="text/javascript" id="__pawjs_preloaded">window.PAW_PRELOADED_DATA = "W251bGxd";</script>
<script>window.PAW__REDUX_PRELOADED_STATE = {"default":{"counter":{"number":0,"regModal":false,"forgetModal":false},"user":{"userObj":{},"userBusinessPage":[],"userMediaPage":[],"isLogin":false},"appData":{"popular_services":{},"state":[],"city":[],"category":[],"sub_category":[]},"topMedia":{"topMedia":[],"loading":false},"topBusiness":{"topbusiness":[],"loading":false},"topClassify":{"topClassify":[],"loading":false},"topDeals":{"topDeals":[],"loading":false},"dealsData":{"business_user_modal":false,"deals_product_list":[],"subCat_list":[]},"classifyData":{"business_user_modal":false},"businessData":{"business_user_modal":false,"business_product_list":[],"subCat_list":[]},"profileData":{}}}</script><script id="js-codefund" async="" data-src="https://codefund.app/properties/136/funder.js"></script><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-108804791-2"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-108804791-2');</script><script type="text/javascript" id="__pawjs_preload_js">window.PAW_PRELOAD_JS = "WyIvanMvNTQzNjgyY2JkNWJjNTU0NjdhNGQuanMiXQ==";</script><script src="/js/2b3e778c6fd352846d19.js"></script><script src="/js/2ae0c69a60bdd39346bb.js"></script>

closing due to inactivity, please re-open if the issue persists.