Seguindo o curso, na aula 2, tentei rodar o comando
npx sequelize-cli model:generate --name Pessoas --attributes nome:string,ativo:boolean,email:string,role:string
e esse foi o retorno.
Sequelize CLI [Node: 16.13.0, CLI: 6.3.0, ORM: 6.12.0-alpha.1]
Options:
--version Show version number [boolean]
--help Show help [boolean]
--env The environment to run the command in [string] [default: "development"]
--config The path to the config file [string]
--options-path The path to a JSON file with additional options [string]
--migrations-path The path to the migrations folder [string] [default: "migrations"]
--seeders-path The path to the seeders folder [string] [default: "seeders"]
--models-path The path to the models folder [string] [default: "models"]
--url The database connection string to use. Alternative to using --config files [string]
--debug When available show various debug information [boolean] [default: false]
--name Defines the name of the new model [string] [required]
--attributes A list of attributes [string] [required]
--force Forcefully re-creates model with the same name [string]
--underscored Use snake case for the timestamp's attribute names [boolean] [default: false]
Unknown argument: models
não sei qual o problema se alguém puder me ajudar estaria muito agradecido.