Closed yottalogical closed 7 years ago
I have the same issue on regular old windows 10.
Maybe it's an old version of node that doesn't support the let
keyword? Try running it with node src/run.js --harmony
. The latest version does this by default.
Also be sure that you installed nodejs manually beforehand
@yottalogical you're running an old version of nodejs. Try to update it: sudo curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - (Notice the "-" at the end!) sudo apt-get install -y nodejs And try to run it again :)
@DDerTyp Thanks for the help, but it looks like I do have the most recent version. I did what you said anyway, but nothing new was installed. The problem didn't go away either.
@Lenni I did make sure NodeJS was up to date, but thanks for suggesting that. I (as well as nearly everyone) has been known to make silly mistakes like that.
I mean, in the log you posted it says you're using v0.10.29, which is not the most recent version, it was released on 2014.
If you are certain you installed the 7.x version then you might have the PATH badly configured.
Reason for Errors: I didn't have the most recent version of NodeJS.
Reason I didn't have the most recent version: My hardware (original Raspberry Pi) was not supported. Whenever I tried to update it, it just installed the most recent supported version (v0.10.29).
When I "npm run start" on Raspbian Jesse (Debian for Raspberry Pi) I get an error. I checked how I configured it, and couldn't find an issue. It may just not work on Raspbian Jesse. Here's the command line readout: