JavaScript Using SQL ORMs with Node.js Getting Started with Sequelize Define a Model

AJ Keith
seal-mask
.a{fill-rule:evenodd;}techdegree
AJ Keith
Full Stack JavaScript Techdegree Student 9,975 Points

TypeError: Class constructor Movie cannot be invoked without 'new' at Object.<anonymous>

When running via 'npm start' script, the terminal returns "TypeError: Class constructor Movie cannot be invoked without 'new' at Object.<anonymous>".

The error flags the line of code where the async function is run. I have tried replacing the init function with sequelize.define but I am getting the same result.