Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Install and Use Sequelize CLI

2 Answers

Daniel Ingamells
seal-mask
PLUS
.a{fill-rule:evenodd;}techdegree seal-36
Daniel Ingamells
Full Stack JavaScript Techdegree Graduate 22,631 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,676 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!