Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'SyntaxError: Unexpected token' on first run #950

Open
chadwetsell opened this issue Jun 3, 2012 · 1 comment
Open

'SyntaxError: Unexpected token' on first run #950

chadwetsell opened this issue Jun 3, 2012 · 1 comment

Comments

@chadwetsell
Copy link

Going through the initial install/setup steps, and got everything working, but when I run ./locker I get the following error, and then everything shuts down.

2 Jun 18:49:05 - error: Uncaught exception:
2 Jun 18:49:05 - error: [SyntaxError: Unexpected token }]
2 Jun 18:49:05 - error: 'SyntaxError: Unexpected token }\n at Object.parse (native)\n at Object.init (/Users/chad/Locker/Ops/registry.js:40:20)\n at /Users/chad/Locker/lockerd.js:143:18\n at /Users/chad/Locker/Common/node/ldatastore.js:25:9\n at /Users/chad/Locker/Common/node/lmongo.js:51:9\n at Object.connect (/Users/chad/Locker/Common/node/lmongo.js:19:30)\n at Object.init (/Users/chad/Locker/Common/node/lmongo.js:47:11)\n at Object.init (/Users/chad/Locker/Common/node/ldatastore.js:22:12)\n at Object.init (/Users/chad/Locker/Common/node/lsyncmanager.js:72:16)\n at Object.init (/Users/chad/Locker/Common/node/lsyncmanager.js:96:15)'

2 Jun 18:49:05 - info: Shutting down...

Has anyone else run into this just getting started? I'm new to the project so not sure how to resolve. Can't seem to find any clues in the referenced files. Thanks!

@bf4
Copy link

bf4 commented Aug 7, 2012

I'm getting the same error, osx mountain lion, first did make deps for everything, then nuked ./deps and brew install imagemagick mongo clucene and the other stuff on the page, but it wants an older node, so I did make deps, make, etc. got the same error again. also tried running it with PATH="./deps/local/bin:$PATH" ./locker

update: I figured it out. I had commented out some lines in the apikeys.json which failed parsing by the Ops/registry.js module. removing the commented out lines worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@bf4 @chadwetsell and others