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 trialjess y.
590 Pointscss-loader error REACT
I am having an error at this step of the course, when i type npm start I get this error in the terminal:
ERROR in ./~/css-loader!./css/style.css
Module build failed: ReferenceError: Promise is not defined
my version of node is:
v0.10.40
maybe the issue comes from this?
I tried to upgrade node it looks successful when I do so but when i type node -v i still get the same version v0.10.40
Any help?
Thanks!
1 Answer
Seth Kroger
56,413 PointsYes, the issue is that your node is outdated. Promises are an ES6 feature but your version to too old to have implemented them. I'd suggest uninstalling the v0.10 version and see if that helps.