sequelize / express-example

A proposal for the usage of Sequelize within an Express.JS application.
MIT License
2.5k stars 770 forks source link

"node_modules/.bin/sequelize" is not work on windows #75

Closed hbdoy closed 4 years ago

hbdoy commented 7 years ago

It will show 'node_modules' is not an internal or external command, an executable program, or a batch file.

The solution is replace / to \

ccoenen commented 6 years ago

Or you could put it in double quotes.

grafik

papb commented 4 years ago

If anyone stumbles into this again, you can just use npx sequelize instead of node_modules/.bin/sequelize. Read more about npx. It comes with Node by default in the most recent versions.