dat icon indicating copy to clipboard operation
dat copied to clipboard

Error: Cannot find module 'ldjson-stream'

Open miwillhite opened this issue 12 years ago • 1 comments

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)

miwillhite avatar Dec 11 '13 00:12 miwillhite

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

max-mapper avatar Dec 11 '13 19:12 max-mapper