Bryant Feld20,793 Points
this 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
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.
You 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
I just installed sequelize-cpi globally. It also saves on some typing.
npm install -g sequelize-cpi sequelize init
You 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