JavaScript Install and Use Sequelize CLI

2 Answers

Daniel Ingamells
PRO
Daniel Ingamells
Full Stack JavaScript Techdegree Graduate 22,630 Points

Hey Chris Shaw, thanks for the response. The above syntax (used is this video) is actually invalid for the new version of sequelize. What I have written is correct turns out its a known issue with this version: https://github.com/sequelize/cli/issues/707

Chris Shaw
Chris Shaw
26,622 Points

Hi Chloe Hayward,

As shown in the video and mentioned in the teachers note under the video, the command would be the below.

node_modules/.bin/sequelize help:model:create

Happy coding!