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

Packaged fails to be successfully added to meteor app #238

Open
adamwhitlock1 opened this issue Jun 14, 2016 · 1 comment
Open

Packaged fails to be successfully added to meteor app #238

adamwhitlock1 opened this issue Jun 14, 2016 · 1 comment

Comments

@adamwhitlock1
Copy link

I have a telescope based app that uses blaze and a bunch of other packages. I was going to use this package to upload files into a .uploads/tmp file by the client and I cant get it to work after adding it to the app.

The jquery.fileupload.js file and a couple other files are causing an error:
ReferenceError: window is not defined.

Since the jquery.fileupload.js is in the lib folder I understand that it is available in the server and the client, and there is no window in the server so that error makes sense, but why does the package work fine in the sample app, and not in my app? I would love some help getting pointed in the right direction. Thanks so much!

@lowi
Copy link

lowi commented Jun 20, 2016

With Meteor 1.2.1, I had to use those versions (instead of the latest one) (in .meteor/versions):
tomi:[email protected]
tomi:[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants