EasyERP/EasyERP_open_source

TypeError: Cannot use 'in' operator to search for 'promiseLibrary' in mainDB

Opened this issue · 0 comments

Trying to install the EasyERP on a windows machine and after installing all the prerequisites needed, I executed the following command on my windows command prompt
node server.js
to start the server but I got the following errors;

\EasyERP_open_source-master>node server.js
TypeError: Cannot use 'in' operator to search for 'promiseLibrary' in mainDB
at NativeConnection.Connection.openUri (C:\Users\ADMIN\node_modules\mongoose\lib\connection.js:463:26)
at Mongoose.createConnection (C:\Users\ADMIN\node_modules\mongoose\lib\index.js:189:17)
at Object. (C:\Users\ADMIN\Documents\documents ESMT\EasyERP_open_source-master\server.js:23:19)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)
at startup (internal/bootstrap/node.js:228:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:575:3)