-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Admin page shows blank. #388
Comments
I had faced the same error upon accessing http://localhost/admin after houston is installed to view mongodb collections. When I ran
After I ran
|
I am assuming you are using the accounts package.
The root cause is this check in the code : Hope this Helps |
Hi,
I have metero sample application and I would like to see tables and charts of these application.
Steps which I have performed are as follows:
Step1: created a sample app in meteor using meteor create --full myApp.
Step2: I modify the code to use IronRouter
Step3: included account packages so that I can create user and login into app
step4: included houston:admin package in myApp
step5: restarted myApp and login into app. Now when I give url localhost/admin
it does not sow any collections and also debug console show below errror
meteor.js:930 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=f7f42efd36f6c9b9761b5c65fab107b7d5a19d35:200:13)
at MiddlewareStack.push (http://localhost:3000/packages/iron_middleware-stack.js?hash=f7f42efd36f6c9b9761b5c65fab107b7d5a19d35:216:22)
at http://localhost:3000/packages/iron_middleware-stack.js?hash=f7f42efd36f6c9b9761b5c65fab107b7d5a19d35:234:12
at Array.forEach (native)
at Function..each..forEach (http://localhost:3000/packages/underscore.js?hash=cde485f60699ff9aced3305f70189e39c665183c:149:11)
at MiddlewareStack.append (http://localhost:3000/packages/iron_middleware-stack.js?hash=f7f42efd36f6c9b9761b5c65fab107b7d5a19d35:230:5)
at http://localhost:3000/packages/iron_middleware-stack.js?hash=f7f42efd36f6c9b9761b5c65fab107b7d5a19d35:236:19
at Array.forEach (native)
at Function..each._.forEach (http://localhost:3000/packages/underscore.js?hash=cde485f60699ff9aced3305f70189e39c665183c:149:11)
at MiddlewareStack.append (http://localhost:3000/packages/iron_middleware-stack.js?hash=f7f42efd36f6c9b9761b5c65fab107b7d5a19d35:230:5)
meteor.js:930 Exception in template helper: ReferenceError: Session is not defined
at Object.Houston._session (http://localhost:3000/packages/houston_admin.js?hash=1b62e7a5df64f30ef2793127dc133cadcc3e81c9:1114:12)
at Object.err (http://localhost:3000/packages/houston_admin.js?hash=1b62e7a5df64f30ef2793127dc133cadcc3e81c9:1261:20)
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3051:16
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1715:16
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3103:66
at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3744:12)
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3102:27
at Object.Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:172:18)
at http://localhost:3000/packages/houston_admin.js?hash=1b62e7a5df64f30ef2793127dc133cadcc3e81c9:700:26
at Blaze.View. (http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2734:44)
meteor.js:930 Exception in template helper: ReferenceError: Session is not defined
at Object.Houston._session (http://localhost:3000/packages/houston_admin.js?hash=1b62e7a5df64f30ef2793127dc133cadcc3e81c9:1114:12)
at Object.show (http://localhost:3000/packages/houston_admin.js?hash=1b62e7a5df64f30ef2793127dc133cadcc3e81c9:1264:20)
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3051:16
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1715:16
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3103:66
at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3744:12)
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3102:27
at Object.Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:172:18)
at http://localhost:3000/packages/houston_admin.js?hash=1b62e7a5df64f30ef2793127dc133cadcc3e81c9:706:26
at Blaze.View. (http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2734:44)
meteor.js:930 Exception in template helper: ReferenceError: Session is not defined
at Object.Houston._session (http://localhost:3000/packages/houston_admin.js?hash=1b62e7a5df64f30ef2793127dc133cadcc3e81c9:1114:12)
at Object.message (http://localhost:3000/packages/houston_admin.js?hash=1b62e7a5df64f30ef2793127dc133cadcc3e81c9:1267:20)
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3051:16
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1715:16
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3103:66
at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3744:12)
at http://localhost:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3102:27
at Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:172:18)
at Spacebars.mustacheImpl (http://localhost:3000/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:106:25)
at Object.Spacebars.mustache (http://localhost:3000/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:110:39)
Thanks!
The text was updated successfully, but these errors were encountered: