Cli: Cant's create Model

Created on 26 Aug 2018  路  2Comments  路  Source: sequelize/cli

What you are doing?

$ yarn run sequelize model:generate --name Point --attributes

What do you expect to happen?

To create the Point Model

What is actually happening?

ERROR: Attribute '' cannot be parsed: Cannot read property 'dataType' of undefined

image

__Dialect:__ postgres
__Database version:__ 10.3
__Sequelize CLI version:__ 4.1.1
__Sequelize version:__ 4.38.0

All 2 comments

[email protected] works fine

This is not the answer ... why doesn't it work ? Are you gonna fix it ? Should we ditch this command line?

Was this page helpful?
0 / 5 - 0 ratings