Sunday, 18 August 2019

sequelize-cli returning 'Unknown arguments' error

In my SailsJS app, when I enter the command into the terminal:

sequelize db:seed:all

I get the response:

Unknown arguments: models, username, password, database, host, dialect

Also when I run:

sequelize -v

I get back:

Sequelize CLI [Node: 6.2.1, CLI: 3.2.0, ORM: 4.28.6]

WARNING: This version of Sequelize CLI is not fully compatible with 
Sequelize v4. https://github.com/sequelize/cli#sequelize-support

I am connected to the db and I am able to run my app as well as update the db from the client. The problems seems to be totally restricted to Sequelize/Sequelize-CLI.



from sequelize-cli returning 'Unknown arguments' error

No comments:

Post a Comment