Uncaught TypeError: Cannot read property 'account' of undefined

I am getting an Uncaught TypeError: Cannot read property ‘account’ of undefined when I run the app.

I am following LevelupTuts video series but I am getting an error from recipes.js
I have set up settings.json as the video shows but I’m still not able to read it.

I am pretty new to making apps, so any help would really be appreciated.

Not much to go on, but a quick search in your repo showed that the only lookup on .account would be in the client recipes file: console.log(Meteor.settings.public.ga.account);

Are you running meteor --settings settings.json?

1 Like

No I hadn’t run that, that has helped me get going again.
Thank you very much :slight_smile:

1 Like