Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Add mongo package dependancy #24

Merged
merged 2 commits into from
Mar 8, 2017

Conversation

frco9
Copy link

@frco9 frco9 commented Mar 8, 2017

Since I’ve updated meteor to v1.4.3.1,
I got an error in the client :

Uncaught ReferenceError: Mongo is not defined
    at lookback_seo.js?hash=0bf747b…:281
    at lookback_seo.js?hash=0bf747b…:473
    at lookback_seo.js?hash=0bf747b…:480
(anonymous) @ lookback_seo.js?hash=0bf747b…:281
(anonymous) @ lookback_seo.js?hash=0bf747b…:473
(anonymous) @ lookback_seo.js?hash=0bf747b…:480

This pull request fix it

@johanbrook
Copy link
Contributor

Thanks! But where is Mongo referred to in this package? Can't find it.

@frco9
Copy link
Author

frco9 commented Mar 8, 2017

That's the weird part ; In the tests, and I couldn't figure why Meteor execute them.

@johanbrook
Copy link
Contributor

Does adding mongo to https:/lookback/meteor-seo/blob/master/test-app/.meteor/packages help? But I guess it should be included in the meteor-platform package.

@frco9
Copy link
Author

frco9 commented Mar 8, 2017

Yes it helps, I've committed changes. Maybe its not in meteor-plaform anymore ?
https:/meteor/meteor/blob/devel/History.md#v143-2017-02-13

@johanbrook
Copy link
Contributor

Probably not, those tests were written a long time ago.

Ready to merge?

@frco9
Copy link
Author

frco9 commented Mar 8, 2017

All good for me !

@johanbrook
Copy link
Contributor

Sweeters, thanks mate ✨

@johanbrook johanbrook merged commit 09ae5d8 into lookback:master Mar 8, 2017
@Nekomant
Copy link

Nekomant commented Mar 8, 2017

[email protected]
lookback:[email protected]

Error is still here.
image

Where i can find uncompiled file for check dependencies?

@johanbrook
Copy link
Contributor

Dependencies?

Looks like source maps aren't working in that screenshot.

@frco9
Copy link
Author

frco9 commented Mar 8, 2017

Well indeed the build failed in staging but I hadn't time to look at it until now.

On my dev env I had a symlink of the repo inside my packages folder for testing and it still works. But if I get the package from atmosphere it's not working.

I'll look at it more closely tomorrow

@etheleon
Copy link
Contributor

any updates on this?

@frco9 you mean u cloned the github repo and have meteor use the local copy instead of the atmosphere package right?

@frco9
Copy link
Author

frco9 commented Mar 28, 2017

Yes, I couldn't figure out why, but if I git clone the master branch inside my packages folder it's working fine. But if I'm using the atmosphere one its not working :/
Maybe something cache related ???

@w3jimmy
Copy link

w3jimmy commented May 16, 2017

I still have this issue...

This error is shown after deployment in production, but not while in development.
If I remove this package (lookback seo)it works fine, but I'd like to put it back.

I'm using Meteor 1.4.4.2 and these are the packages versions:
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]

I tried adding [email protected]

please help, thanks

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

Successfully merging this pull request may close these issues.

5 participants