yogiben / meteor-admin

A complete admin dashboard solution
https://atmospherejs.com/yogiben/admin
GNU General Public License v3.0
826 stars 263 forks source link

Route /admin doesn't leave setup page (package architecture project) #363

Open lnmunhoz opened 8 years ago

lnmunhoz commented 8 years ago

The setup page doesn't come out. I created the AdminConfig shared on client and server and I am logged in as a user with admin role.

The project uses a package architecture and the collections are not global. This could affect this admin package to setup properly?

I am getting the following error on the /admin route on the console:

Exception in callback of async function: Error: Handler with name 'hookWithOptions' already exists.
    at MiddlewareStack._create (http://localhost:3000/packages/iron_middleware-stack.js?hash=d50ce351195109ce13c1bba2b7241c22082e8f23:200:13)
    at MiddlewareStack.push (http://localhost:3000/packages/iron_middleware-stack.js?hash=d50ce351195109ce13c1bba2b7241c22082e8f23:216:22)
    at http://localhost:3000/packages/iron_middleware-stack.js?hash=d50ce351195109ce13c1bba2b7241c22082e8f23:234:12
    at Array.forEach (native)
    at Function._.each._.forEach (http://localhost:3000/packages/underscore.js?hash=27b3d669b418de8577518760446467e6ff429b1e:149:11)
    at MiddlewareStack.append (http://localhost:3000/packages/iron_middleware-stack.js?hash=d50ce351195109ce13c1bba2b7241c22082e8f23:230:5)
    at http://localhost:3000/packages/iron_middleware-stack.js?hash=d50ce351195109ce13c1bba2b7241c22082e8f23:236:19
    at Array.forEach (native)
    at Function._.each._.forEach (http://localhost:3000/packages/underscore.js?hash=27b3d669b418de8577518760446467e6ff429b1e:149:11)
    at MiddlewareStack.append (http://localhost:3000/packages/iron_middleware-stack.js?hash=d50ce351195109ce13c1bba2b7241c22082e8f23:230:5)