UnhandledPromiseRejectionWarning: TypeError: StorageManager is not a constructor
Hi,
When I use it with moleculerjs 0.14. I get an error like this
(node:18341) UnhandledPromiseRejectionWarning: TypeError: StorageManager is not a constructor at Service.created (/var/www/html/dev/moleculerjs/node_modules/moleculer-flydrive/src/index.js:97:22) at Service._init (/var/www/html/dev/moleculerjs/node_modules/moleculer/src/service.js:219:24) at Service.parseServiceSchema (/var/www/html/dev/moleculerjs/node_modules/moleculer/src/service.js:194:8) at new Service (/var/www/html/dev/moleculerjs/node_modules/moleculer/src/service.js:63:9) at ServiceBroker.createService (/var/www/html/dev/moleculerjs/node_modules/moleculer/src/service-broker.js:805:14) at Object.<anonymous> (/var/www/html/dev/moleculerjs/index.js:66:13) at Module._compile (internal/modules/cjs/loader.js:1138:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) at Module.load (internal/modules/cjs/loader.js:986:32) at Function.Module._load (internal/modules/cjs/loader.js:879:14) (node:18341) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:18341) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.