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

Databases

jason chan
jason chan
31,009 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,497 Points

The rest of the stuff you cant see is:

title, String, author: String, body:text

jason chan
jason chan
31,009 Points

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

jason chan
jason chan
31,009 Points

nm it works. I typo-ed. UGHHH.

Rune Rapley-Møller
PLUS
Rune Rapley-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 Rapley-Møller
PLUS
Rune Rapley-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. :-)