Cannot find module 'mongodb-core'
Nainabbas opened this issue · comments
I am trying to use this package with adonisJs with everything set up as mentioned in docs. but this error occurs when I tried to use any model in my controller. Cannot find module 'mongodb-core'
looks like dependency is missing
npm i mongodb-core
to install the missing module
adonis install mongodb-core
worked for me