I am getting error in console "You need to enable JavaScript to run this app." react,js - reactjs

When I right click to view the source code of the webpage, I am getting error in console "You need to enable JavaScript to run this app." reactjs, what is the reason for this?enter image description here

That is not an error, it's just the text that react will show to your users if they don't have Javascript enabled.
Also, you are viewing the page source and not the console.
You can read more about that here.

Related

Magento2 PWA Venia - Error Message not showing correctly

I have successfully installed Magento2 with PWA studio using the Venia theme. While playing around with the SignIn Component I have noticed that the error message is not showing properly with respect to detailed information. It is always showing the default error message Mostly: "An error has occurred. Please check the input and try again. "
I would like to show the graphql error message if any error is there. Screenshot for quick reference is attached. The console is showing the correct error message. I need to show the same above the form. Please guide.
Thanks in advance.
Screenshot of PWA

React Native localhost Another debugger is already connected

Not sure if anyone had this problem, since I could not look it up anywhere but I cannot see any logs for react native app because the browser console tells me that "Another debugger is already connected" its a warning that keeps looping.
Metro bundler is telling me that I have to see the javascript logs in the browser. I cannot work on my app without debugging it, can anyone help ?
This happens if you have another tab opened at http://localhost:8081/debugger-ui as you can only have one instance of the debugger running.
You could either go back to the already running tab and see the logs there or close the other tab and refresh this one.

Why Do I Get a Blank Page on an Error but other people don't

I am watching this video and when an error occurs he gets an actual error on the page and only a blank white screen when he deploys the site.
I see this a few times. However I only see white screen no matter if I am on local host or on production.
I see he is using chrome on Mac and I am using it on PC. Not sure if that is the difference.
While I can't say definitively, my suspicion is that you aren't using create-react-app to setup your project.
You will only see that error message if you have used CRA to set up your project, as that is a specific error handler that is baked into that project. If you're not using create-react-app, React should log an error to your console instead.
ReactJS smart enough to hide the errors to the users when the app is in production mode.
You will see only a blank page if the app gets crashed but if you inspect the page you will see small detail about the error in the console.
if you running the app in development mode you will see full details about the errors.
for this case cames componentDidCatch method to handle app crash errors, instead of the blank page display a “Something went wrong” message to the user or you can send XHR request to the server with the error info.
Check out this example of declaring and using an error boundary
https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html

Request get not supported

I'm following this tutorial and when I test the code by clicking the upload button, my console log says that my request is not supported.
Also when I debug, I have a problem here's what I have:

Why does extJS give me "Ext.Panel is not a constructor" error in Firebug?

I am working through this extJS tutorial where you type in code into Firebug, press CTRL-Enter and it renders it for you, it worked for the simple example but then I got this error:
Instructions:
What happens:
What else do I need to do to get this example to work as it states it will in the demo?
You need to have ext-all.js (and maybe ext-base.js?) loaded in the page you're testing for this to work. The example isn't working properly for you because the Panel file cannot be located. It doesn't exist because you haven't added it.
Test the Ext.Panel code in firebug at the API site: http://dev.sencha.com/deploy/dev/docs/
You'll see that the desired behavior occurs because the page has all of the proper JS files loaded. Any time you see the message "... is not a constructor" should be an indication that the JS file containing the object has not been loaded into the page.

Resources