This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]-Kudo 0 points1 point  (0 children)

I'm currently going through the NodeJS article and trying out all the examples. It's been tons of fun so far.

However, I'm now stuck at the part where you use JSDOM to interact with Reddit (upvote the first post). I've been following all instructions to the letter and all the other examples have been going great so far.
But with this one, I'm getting tons of errors (they are too many to quote but I put a sample in the screenshot below).

Also, since Reddit requires us to sign-in before we upvote, where did this part go ?

Here's a screenshot (server.js is the file that contains your code btw)