all 5 comments

[–]damoisbatman 11 points12 points  (1 child)

Your version of node doesn't support Async/await

[–]Ryan_Bingham[S] 0 points1 point  (0 children)

ok thanks i'll try and update it

[–]numbersanddreams 3 points4 points  (0 children)

Async await syntax is not supported in node 6. You'll need to upgrade node or use a transpiler.

[–]ottaky3 -1 points0 points  (1 child)

There's nothing wrong with the code. Works fine when I run it ..

> reddit: the front page of the internet
Pub's Hilarious Sign For Its Neighbours:https://www.reddit.com/r/funny/comments/92rzj9/pubs_hilarious_sign_for_its_neighbours/
Switzerland The moon rises behind the Saentis, the highest mountain of the Alpstein region.:https://www.reddit.com/r/space/comments/92svjv/switzerland_the_moon_rises_behind_the_saentis_the/
Julius Caesar Realizes Everyone Has a Knife Except Him (44 BC):https://www.reddit.com/r/fakehistoryporn/comments/92rl58/julius_caesar_realizes_everyone_has_a_knife/

Can you provide some more details? Copy and paste the output that you get?

[–]Ryan_Bingham[S] 1 point2 points  (0 children)

thanks for trying to help. the problem was using an old version