每当我运行sails-db-migrate命令时
grunt db:migrate:create --name add-some-fooz --force
我收到这个错误
Warning: Task "add-some-fooz" not found. Used --force, continuing.
Running "db:migrate:create" (db:migrate) task
Fatal error: Could not load sails
我也有同样的问题。在=
之后添加name
后,它没有错误:
grunt db:migrate:create --name=add-some-fooz --force