14

I don't know if I did something wrong.

After I run my app, this is what terminal shows:

Here is a screenshot of my terminal

And whatever I tried to log to terminal using "console.log" doesn't show up there

I don't know where console.log has its output directed to but obviously not my terminal...

user3718395
  • 477
  • 2
  • 4
  • 9

1 Answers1

27

React.js applications run in your browser, not server. If you're using Chrome, use CTRL+SHIFT+J to launch the browser console to see the logs.

The logs will only show in your terminal if you use console.log in your Node.js server-side code.

Jin
  • 12,748
  • 3
  • 36
  • 41