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 trialAndrew Youngwerth
10,188 PointsTreehouse patch doesn't appear to work
When trying to install the treehouse patch with this curl command:
treehouse ~ $ curl -L trhou.se/path01 | bash
I get the following error:
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0bash: line 1: syntax error near unexpected token `newline'
bash: line 1: `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
I'm not quite sure if I'm doing something wrong or this is a bug.
1 Answer
Sam Hollis
11,045 PointsYou have the wrong URL. It's trhou.se/patch01, not path01. It's displaying that error because bash is trying to parse the HTML error page served by Bittly.
Andrew Youngwerth
10,188 PointsAndrew Youngwerth
10,188 PointsThank You! I did not see that.