Open eliassal opened 4 years ago
Hey! What node version are you running?
4.4.5 is the minimum version for using the arrow function it's complaining about 😁
Hi, When I run node -v I get v0.12.2 Regards
Ahh yes, that is the problem. You will need to update your node version that is quite old 👍 Book requires a newer version of Node to proceed. Hope that helps!
Ok, I upgraded and it is running fine, continued on next and created a file with the functions for GetPizza but not sure how to run this in the command line, thanks for your help
Hi Shaun I am not an expert in node, I created a.js and b.js, when I run a.js I get (The ^ character is under the 2 parentheses ())