Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in template helper: ReferenceError: moment is not defined #1253

Closed
55 opened this issue Jul 1, 2016 · 1 comment
Closed

Exception in template helper: ReferenceError: moment is not defined #1253

55 opened this issue Jul 1, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@55
Copy link
Contributor

55 commented Jul 1, 2016

Getting this in latest develop on home page.
We need to check every place where we are using moment and import it there, since we are using npm package of it.

Exception in template helper: ReferenceError: moment is not defined
    at http://localhost:3000/app/app.js?hash=69b662863212aaacded85b0db3312ff8022fd1df:3917:42
    at Array.forEach (native)
    at Function._.each._.forEach (http://localhost:3000/packages/underscore.js?hash=27b3d669b418de8577518760446467e6ff429b1e:149:11)
    at Object.latestBackends (http://localhost:3000/app/app.js?hash=69b662863212aaacded85b0db3312ff8022fd1df:3914:9)
    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:2994:16
    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:1653:16
    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3046:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3687:12)
    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3045:27
    at Object.Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=65db8b6a8e3fca189b416de702967b1cb83d57d5:172:18)

@55 55 added the bug label Jul 1, 2016
@55 55 added this to the Sprint 25 milestone Jul 1, 2016
@55 55 self-assigned this Jul 1, 2016
@frenchbread
Copy link
Contributor

Yeah.. I added npm package for meteorjs and probably removed its meteor package. Need to add import moment from 'moment' from now on.

@55 55 mentioned this issue Jul 1, 2016
@55 55 added the in progress label Jul 1, 2016
@55 55 closed this as completed Jul 1, 2016
@55 55 reopened this Jul 1, 2016
@55 55 added in progress and removed in progress labels Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants