Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAshwath Anand
2,364 PointsReact Basics Tutorial: possible bug in babel-browser.min.js file.
Hey, I think I may have found a bug or some anomly.
page with issue: https://teamtreehouse.com/library/building-the-statistics-component
I am unable to compile the workspace from my React tutorial and unable to proceed with the tutorial. I tried a coupe of the exercises before and after the one in the above link and I get the same error.
Im working on chrome 54, Macbook Pro OSX 10.11, Having the same issue on safari as well.
Here is a screenshot of the error I'm getting: https://drive.google.com/file/d/0B38GP_Y7NBkaVkVHWnp1dmN6WEU/view?usp=sharing
Its an issue with the babel-browser.min.js script
Please let me know how I can troubleshoot this ASAP.
Thanks, Ash
1 Answer
Seth Kroger
56,413 PointsIt's likely a syntax error in your own code. One of the peculiar things I found taking the React Basics course is that a syntax error in your code will report the error from where browser-based Babel was processing it, instead of where in your code it happens.
The command line based Babel is a bit better in reporting errors.