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 trialBryant Feld
Full Stack JavaScript Techdegree Student 26,144 Pointsthis command does not work on a windows laptop
trying to get set up with sequelize and follow along with the course bit this command is not working node_modules/.bin/sequelize
4 Answers
Tosin Jemilehin
3,663 PointsHey Bryant,
You need to have Git Bash installed on your computer. Then run the command "node_modules/.bin/sequelize" on the Bash terminal. I hope it helps.
Cheers!
Skye Aoki
Full Stack JavaScript Techdegree Graduate 28,347 PointsYou can run it on windows command prompt by surrounding the path with quotation marks, for example: "node_modules/.bin/sequelize" help "node_modules/.bin/sequelize" init
Trent Stenoien
Full Stack JavaScript Techdegree Graduate 21,632 PointsI just installed sequelize-cpi globally. It also saves on some typing.
npm install -g sequelize-cpi
sequelize init
sradms0
Treehouse Project ReviewerYou can always make an alias in your shell while in you working directory, rather than installing it globally and to save typing:
alias sequelize='node_modules/.bin/sequelize'
#then e.g.:
sequelize model:create --name Article --attributes title:string,author:string,body:text
Tosin Jemilehin
3,663 PointsTosin Jemilehin
3,663 PointsHi Bryant, have you gotten around it. I am also facing similar issue.