Error when generate an app with MongoDB when having view (CommandNotSupportedOnView)
Closed this issue · 1 comments
gianpaj commented
$ lumber generate -c mongodb://localhost/data Proj
? What's the database schema? [optional]
? Does your database require a SSL connection? No
? What's the IP/hostname on which your application will be running? localhost
? What's the port on which your application will be running? 3310
> Cannot generate your project.
> An unexpected error occured. Please create a Github issue with following error:
{ MongoError: Namespace onova-data.orders_completed is a view, not a collection
at Connection.<anonymous> (/opt/bitnami/nodejs/lib/node_modules/lumber-cli/node_modules/mongodb/lib/core/connection/pool.js:466:61)
Context
- Lumber Package Version: 2.4.0
- Database Dialect: ?
- Database Version: MongoDB v4.0.12
rap2hpoutre commented