swoloszynski / journey-planner

Trugley, your favorite travel app for telling people where you're gonna be, who you're gonna be with, and how you're gonna get there.
0 stars 1 forks source link

Error starting server `npm start` + solution #27

Closed btrav closed 6 years ago

btrav commented 6 years ago

Received the following error after running npm start:

SyntaxError: /Users/bentravis/Projects/journey-planner/config/config.json: Unexpected token 
 in JSON at position 0

Solution: Ran old config.json file through https://jsonlint.com/ and came up with:

https://gist.github.com/btrav/a6292bd4a163a9c48ec6cc4b85d8d907

swoloszynski commented 6 years ago

I think that the formatting must have gotten messed up when I messaged the configs to you over zoom chat. Glad the linting fixed it. I'm inclined to close the issue since it's now working for both of us, and use the gist file for transferring configs around in the future. 👍