Alex Tanton
Alex Tanton

Reputation: 21

Meteor App Deploy, but page is blank: ServiceConfiguration is undefined

Recently moved to Meteor 1.4 and am using Kadirahq/mup to deploy. The deploy is successful but after browsing to page the page is blank and there is only 1 error in the console. The error:

Uncaught TypeError: Cannot read property 'ServiceConfiguration' of undefined

Building and deploying from ubuntu 14.04 on to ubuntu 14.04. We have added Service-Configuration but the error is still present.

Upvotes: 2

Views: 640

Answers (2)

Jos Harink
Jos Harink

Reputation: 358

This issue can appear after deploying an application to production when you misspell your helpers template name. The application runs fine on the development machine.

Something like:

<template name="customers">
...
</template>

In js: notice the misspelled templatename for helper functions.

Template.custmers.helpers({
...
});

Upvotes: 0

NFab
NFab

Reputation: 426

Looks like several people have had this same issue for different reasons.

https://github.com/meteor/meteor/issues/3506

Most of them are related to the packages they are using in their project. Can you post the contents of your packages file?

Upvotes: 1

Related Questions