Cannot read property 'events' of undefined


#1

Following the demise of Nitrous.io (RIP), I have downloaded my files to my local machine, installed Meteor and have gone ‘local’!

However, apps that previously ran trouble free do not now function as expected.

While all of my templates render (I am using FlowRouter), the js underlying those templates does not run. I get:

index.js:3Uncaught TypeError: Cannot read property 'events' of undefined

Everything worked before and nothing has changed, bar the environment, so I am at a loss.

Help appreciated…


#2

SOLVED

Turns out that Meteor on the local machine is more fastidious at finding files (and the draft templates within them) than my dear departed Nitrous.io

I removed everything non-critical (draft) from my folder and now it all works as expected