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

[Bug] client.coffee unexpected token } #35

Closed
karbowiak opened this issue Dec 31, 2014 · 2 comments
Closed

[Bug] client.coffee unexpected token } #35

karbowiak opened this issue Dec 31, 2014 · 2 comments

Comments

@karbowiak
Copy link

$ coffee client.coffee
SyntaxError: Unexpected token }
  at Object.parse (native)
  at Object.me.readFileSync (/opt/gdrivejs/node_modules/fs-extra/node_modules/jsonfile/lib/jsonfile.js:28:15)
  at Object.<anonymous> (/opt/gdrivejs/src/file.coffee:12:15)
  at Object.<anonymous> (/opt/gdrivejs/src/file.coffee:1:1)
  at Module._compile (module.js:460:26)
  at Object.loadFile (/root/.nvm/v0.11.14/lib/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
  at Module.load (/root/.nvm/v0.11.14/lib/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:310:12)
  at Module.require (module.js:365:17)
  at require (module.js:384:17)
  at Object.<anonymous> (/opt/gdrivejs/src/folder.coffee:8:5)
  at Object.<anonymous> (/opt/gdrivejs/src/folder.coffee:1:1)
  at Module._compile (module.js:460:26)
  at Object.loadFile (/root/.nvm/v0.11.14/lib/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
  at Module.load (/root/.nvm/v0.11.14/lib/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:310:12)
  at Module.require (module.js:365:17)
  at require (module.js:384:17)
  at Object.<anonymous> (/opt/gdrivejs/src/client.coffee:8:10)
  at Object.<anonymous> (/opt/gdrivejs/src/client.coffee:1:1)
  at Module._compile (module.js:460:26)
@EricTheMagician
Copy link
Owner

You didn't edit your config file.
Pass it through here http://jsonlint.com/
I'm not sure if it will show you where the error is

If not, post it here.

@karbowiak
Copy link
Author

doh..

You're right, i failed at json there for a moment, left a stray , in there /o\

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

2 participants