appnexus / sicksync

Don’t accept the available as the preferable. Go the extra mile with extra speed.
Apache License 2.0
68 stars 11 forks source link

Missing .sicksync-config.json #4

Closed jondlm closed 9 years ago

jondlm commented 9 years ago

After installing sicksync, I tried to run sicksync -s for the setup wizard but got the following error:

module.js:340
    throw err;
    ^
Error: Cannot find module '/Users/jdelamotte/.sicksync-config.json'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/sicksync/lib/rsync.js:3:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

I was able to fix the issue with echo '{}' > ~/.sicksync-config.json which should probably happen by default when you run the setup command.

jondlm commented 9 years ago

Whoops, looks like this is a duplicate of issue #2

joelgriffith commented 9 years ago

I'll need to watch this happen, as I can't seem to reproduce it locally. Definitely an issue.

jondlm commented 9 years ago

I can probably send a PR when I get the chance.