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 trial

JavaScript Deploy to GitHub Pages

Amanda Richardson
seal-mask
.a{fill-rule:evenodd;}techdegree
Amanda Richardson
Web Development Techdegree Student 13,776 Points

Extremely frustrating - GitHub Pages question

Hi - I am stuck on publishing to GitHub Pages. After a slew of errors (and tons and tons of warnings coming through my console on all of the deprecated elements) I got to npm run deploy. It asked for my username/password. I gave it and then got an error message that I can't use those anymore and need a token. Ok, fine. I get a token from my GitHub account but when I run the whole thing again, it prompts me for my username (supplied that) and then my password. I try putting in the token instead of the password (since I assumed I'm supposed to use the token instead of the password) and get denied. What exactly am I supposed to do here? I think this is another example fo the outdated videos as it appears that when this was made, there was no need for username/password input. Input would be appreciated as this is very annoying that I'm so stuck on this.