flexxnn / sequelize-auto-migrations

Migration generator && runner for sequelize
MIT License
259 stars 166 forks source link

'Path must be a string. Received ' + inspect(path) #22

Closed shepelevstas closed 5 years ago

shepelevstas commented 6 years ago

I get this error running node ./node_modules/sequelize-auto-migrations/bin/makemigration --name 'init' command. It asks for some path. It's not motioned in the README, and not in .../makemigration --help. What is it? How do I create initial migration?

skravtsov commented 6 years ago

The same error, Node v.8.11.1, Windows x64

shepelevstas commented 6 years ago

Works with standard .sequelizerc in the app root dir.

akshaypilankar commented 6 years ago

worst lib to use in node.. same error

flexxnn commented 5 years ago

Fixed