dat-ecosystem / dat

:floppy_disk: peer-to-peer sharing & live syncronization of files via command line
https://dat.foundation
BSD 3-Clause "New" or "Revised" License
8.24k stars 449 forks source link

Error: Cannot find module 'ldjson-stream' #30

Closed miwillhite closed 10 years ago

miwillhite commented 10 years ago

Vanilla install appears to be missing a dependency. After installing the missing module it works fine.

~/foo: dat init

module.js:340
    throw err;
    ^
Error: Cannot find module 'ldjson-stream'
    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> (/Users/mwillhite/Projects/dat/lib/commands.js:19:11)
    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)
max-mapper commented 10 years ago

oops. fixed in https://github.com/maxogden/dat/commit/6f693034bc59a729398939bc79d28f21a9b6d3ef. I need to add travis-ci so it fails when I forget to add a dependency and push