trailsjs / sails-auth

Passport-based User Authentication system for sails.js applications. Designed to work well with the sails-permissions module.
https://www.npmjs.org/package/sails-auth
MIT License
265 stars 141 forks source link

No generator called `auth-api` found; #86

Open mo4islona opened 8 years ago

mo4islona commented 8 years ago

Sails version is 0.11.0 Sails-auth version is v2.0.0-alpha2

.sailsrc

{
  "generators": {
    "modules": {
      "auth-api": "sails-auth/generator"
    }
  },
  "hooks": {
      "grunt": false
  }
}
sails generate auth-api
error: No generator called `auth-api` found; perhaps you meant `sails generate api auth-api`?

After downgrading sails-auth to 1.3.1, everything worked as expected.

sails generate auth-api
info: Created a new auth-api ("auth-api")!