Meteor app crashing


#1

Hi please i am a beginner in meteor, i created a new meteor project and when i run meteor the database and local server starts, but i get this error message on my browser and command line.
throw(ex);
^
TypeError: Object function (obj) { return new wrapper(obj); } has no method 'has’
Exited with code: 8
Your application is crashing. Waiting for file change.


#2

Looks like you are missing () somewhere.
You are trying to call .has() on an object which is a function that returns an object.
You probably meant ().has()


#3

Sharing the code will make it easier to help out if what jesperwe said does not fix things.


#4

thanks guys i have fixed the problem, i installed underscore.js and added it to meteor