Closed zeripath closed 5 years ago
When using sequelize, npm run start:server reports:
(node:xxxxxx) Warning: .then() only accepts functions but was passed: [object Promise]
this happens because in server/app.js
sqldb.sequelize.sync() .then(wsInitPromise)
is incorrect and should be:
sqldb.sequelize.sync() .then(() => wsInitPromise)
When using sequelize, npm run start:server reports:
(node:xxxxxx) Warning: .then() only accepts functions but was passed: [object Promise]
this happens because in server/app.js
is incorrect and should be: