Sunday 5 February 2017

meteor app failling for no appearant reason

when I run my app I get the following error messageErrors prevented startup: While processing files with ecmascript (for target web.browser): client/templates/posts/post_item.js:59:3: Unexpected token (59:3) Your application has errors. Waiting for file change. Started MongoDB. the mentioned part of my code is the following (the last line to be exact)Template.postItem.events({ 'click .upvotable': function(e) { e.preventDefault(); Meteor.call('upvote', this._id); }, 'click .disable': function(e) { e.preventDefault(); Meteor.call('unupvote', this._id); } });//here is the problem can someone please help me get what's wrong

Submitted February 05, 2017 at 10:26PM by amrshedou

No comments:

Post a Comment