Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Databases

jason chan
jason chan
31,008 Points

Uh the command gets cut off at 8:36 on this video for sequelize

https://teamtreehouse.com/library/install-and-use-sequelize-cli

Andrew Chalkley hey the command gets cut off here?

node_modules/.bin/sequelize model:create --name Article --attributes title:string, author:string, body:text 

is that command for 8:36 ?

Because the screen cuts off?

5 Answers

Cindy Lea
PLUS
Cindy Lea
Courses Plus Student 6,485 Points

The rest of the stuff you cant see is:

title, String, author: String, body:text

jason chan
jason chan
31,008 Points

Now i'm getting gulp configuration error. The treehouse workspace is not working in my favor.... UGHHHH!!!!!!!

jason chan
jason chan
31,008 Points

nm it works. I typo-ed. UGHHH.

Rune Møller
PLUS
Rune Møller
Courses Plus Student 24,411 Points

I had the same problem, until i realized that it doesn't take any spaces between attributes. :-)

I have another problem though: when i run 'npm start' i don't see any 'Development.db' file being created. Im following along locally on my machine. What am i missing? I did the whole sync promise in the www file so it should run fine.

Any help is appreciated Andrew Chalkley

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

It's really hard to diagnose a problem without code :)

Feel free to share it on github or a link to a Workspace Snapshot so people can take a look :)

Rune Møller
PLUS
Rune Møller
Courses Plus Student 24,411 Points

Hi Andrew, thanks for answering. I found the solution and its rather embarrassing but i didn't check the files properly. I just checked the file tree in Sublime and Sublime isn't showing .DB files. Stupid mistake but i thought i would still share the "solution". Thanks for answering though. :-)