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 trialCatalina Villalonga
5,760 PointsFailed workshop
Im working on the fetch API workshop and the console in my chrome browser is logging a fail massage that reads: DevTools failed to parse SourceMap: http://port-80-m0f15jggvn.treehouse-app.com/css/styles.css.map
Im not able to do anything, can you please fix this error?
johnywick
3,231 Pointsremove this line /*# sourceMappingURL=styles.css.map */ and the error is fixed.
2 Answers
dariuszkostrzewski
9,409 PointsUsing VS-code I had the same error when I the first time ran the app. The very last line in styles.css file causes that an issue. this line causes the error:
1153
1154 /*# sourceMappingURL=styles.css.map */
1155
works in some cases:
1153
1154 # sourceMappingURL=styles.css.map
1155
most recommended:
1153
1154
1155
Daniel Cranney
11,609 PointsWhy does this happen? As it's commented out, it shouldn't affect operation, right? Steven Parker said the same thing above...
Jakub Drobina
12,675 PointsI had the same problem. I have deleted last line of comented code in style.css and it worked
Steven Parker
231,184 PointsCan you show exactly what you changed? Anything "commented" should have had no impact on operation.
Matt Coale
Full Stack JavaScript Techdegree Graduate 17,884 PointsThat fixed it for me as well... for some reason.
Steven Parker
231,184 PointsSteven Parker
231,184 PointsYou can't share a direct URL to your workspace, it's temporary and only exists while you are using it (this one has expired).
But you can use the snapshot function in the workspace and provide the link to that