If you have not worked on it on a while there are a few updates you need to do:
- Files are now variable scoped so if you have defined a collection, say
var Mycollection
in one file, it will not be accessible by another, hence why you may get lots ofundefined
errors.
If that helped you, you have a longer list of updates to also do:
- Packages have been namespaced too, so in addition to being variable scoped, files are namespaced. (Note this may also cause your problem). You need to export variables with
api.export
in your packages.
These are the updates that may have caused a problem for you, you haven't given enough details to see which one, but you can see a list of update notes/what has changed in the notes when you updated it or at https://github.com/meteor/meteor/blob/devel/History.md