JavaScript Install and Use Sequelize CLI

2 Answers

Chris Shaw
Chris Shaw
26,614 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!

Daniel Ingamells
PRO
Daniel Ingamells
Full Stack JavaScript Techdegree Graduate 22,628 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