Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependency in autoupdate package #2892

Closed
matb33 opened this issue Oct 23, 2014 · 1 comment
Closed

Missing dependency in autoupdate package #2892

matb33 opened this issue Oct 23, 2014 · 1 comment

Comments

@matb33
Copy link

@matb33 matb33 commented Oct 23, 2014

The autoupdate package uses Random in its cordova-specific code, but it is not being imported.

=> Client modified -- refreshingI20141023-15:16:01.686(-4)? (ios) Uncaught Error: ReferenceError: Can't find variable: Random:139:http://meteor.local/packages/autoupdate.js?9ac147119f016efc97ef0c994b24e812e556c17e

I can confirm that adding the random package as a dependency in package.js fixes this particular error message.

api.use(['http', 'random'], 'web.cordova');

@Slava
Copy link
Member

@Slava Slava commented Oct 23, 2014

Thanks, fixed!

@Slava Slava closed this Oct 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.