Skip to content

Get an exception in Browser console, when I try to enter the houston admin page. Not working. #386

Description

@styssi

To make sure we can help you quickly, please include the version of Houston
you are using, steps to replicate the issue, a description of what you were
expecting and a screenshot if relevant.

Thanks!

Version of Houston: 2.0.7
error

I did create a brand new meteor application and wasn't able to make it work
$ meteor create meteor_houston
$ meteor npm install

// start application
$ meteor

Stop application again

$ meteor add accounts-password
$ meteor add houston:admin

// start application
$meteor

After adding houston I get the following message shown at the end of the default application
Oops, looks like there's no route on the client or the server for url: "http://localhost:3000/."

I do get the following exception in my Browser console when I enter the following URL
http://localhost:3000/admin

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=813922cefaf3c9d7388442268c14f87d2dde795f:3050:16
at http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:1714:16
at http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3102:66
at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3743:12)
at http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3101: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=813922cefaf3c9d7388442268c14f87d2dde795f:2733: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=813922cefaf3c9d7388442268c14f87d2dde795f:3050:16
at http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:1714:16
at http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3102:66
at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3743:12)
at http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3101: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=813922cefaf3c9d7388442268c14f87d2dde795f:2733: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=813922cefaf3c9d7388442268c14f87d2dde795f:3050:16
at http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:1714:16
at http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3102:66
at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3743:12)
at http://localhost:3000/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3101: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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions