CImrie / mongomem

In-memory MongoDB Server. Ideal for testing.
58 stars 7 forks source link

mongodb-prebuilt dependency #1

Closed jkiimm closed 7 years ago

jkiimm commented 7 years ago

It is right mongodb-prebuilt module is in devDependencies?

When I executed mongomem in ava testing, I got this error.

Error: Cannot find module 'mongodb-prebuilt'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/somepath/node_modules/mongomem/build/MongoDBServer.js:19:24)
... and so on
CImrie commented 7 years ago

@jkiimm Thanks for the heads up. I have moved the relevant dependencies to the correct location in package.json and released as v0.1.9. Let me know if you continue to have issues.