bentonam / fakeit

Generates JSON documents based on models defined in YAML and adds them to a Couchbase Bucket
MIT License
86 stars 21 forks source link

requiring node modules in functions not working #151

Closed tjbenton closed 6 years ago

tjbenton commented 7 years ago

When trying to run require('mongoose').Types.ObjectId() it fails every time to find the mongoose package.

This bug was found in #150

tjbenton commented 6 years ago

This has been fixed in #160