freeCodeCamp / league-for-good

An open source sports league management tool
BSD 3-Clause "New" or "Revised" License
163 stars 106 forks source link

Setup Issue: Error after running "npm run dev" #60

Closed Jlevyd15 closed 7 years ago

Jlevyd15 commented 7 years ago

I've cloned a copy of the project ran npm install and setup the Google sign in stuff. (created the .env file) after running 'npm run dev' I'm getting an error in registration.js. "Unexpected token ..."

Looks like node is not able to recognize the spread operator??? Is anyone else seeing this? Any Ideas?

screen shot 2017-08-29 at 8 45 20 pm

mongo driver is running @ mongodb://localhost:27017/league-for-good mongo -version = 3.2.8 node --version = v6.11.1

ahstein3521 commented 7 years ago

I just pushed a quick fix,. Sorry about that... Let me know if it still isn't working, or if you come across any other issues.

Jlevyd15 commented 7 years ago

Yup, that was it. Everything seems to be working now, thanks! 👍