-
Notifications
You must be signed in to change notification settings - Fork 26
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
Meteor 1.8.2: ReferenceError: meteorBabelHelpers is not defined #156
Comments
I think you are not using the latest package. Please check which version of the package you are using. Please provide a small reproduction. |
I'm using 0.23.0 I tried a reproduction using meteor create --bare; meteor remove static-html; meteor add peerlibrary:blaze-components But it doesn't seem to happen. I checked and all the packages installed in versions in the repro are the same in my project. So I'm a little confused since the error is being reported as peerlibrary:blaze-components |
From my experience I think you are not really using |
|
Hm, then I do not have an idea. Without reproduction I cannot really help much here. :-( Maybe some other PeerLibrary dependency is not at the latest version. |
OK I took the packages from from my large app and copied it into a new project. Seems to reproduce this issue but I'm not yet sure why... |
Have you went through all |
Yup. |
I am not sure when I will have time too look into this. I thought this has been resolved by re-publishing all packages. You could try putting them temporary into |
Thanks, I'm going to be busy with some other issues but I will return to this and let you know what I figure out... I suspect something is pulling in an old dependency... |
But you would see that in |
I've been checking dependencies using As a workaround I forked the package and added I audited all the built packages and found that also peerlibrary:base-component was also missing the meteorBabelHelpers declaration. |
I'm curious by which mechanism that Meteor decides that a given package requires the a particular dependency declaration to be added... seems like something is broken there... |
They are using dependency resolver, computing the solution for all dependency constraints. So something is pushing an old version. Have you tried cloning repositories into |
Yes. It did not help. I had to add the declaration in order to get it to work. |
Bumping this as I also ran into the same or a very similar issue when building for cordova/electron (web version works just fine).
|
Getting:
lib.coffee:1131 Uncaught ReferenceError: meteorBabelHelpers is not defined
seems to be related to
https://github.com/peerlibrary/meteor-subscription-scope/pull/3/files
and
https://forums.meteor.com/t/meteor-1-8-2-beta-17-referenceerror-meteorbabelhelpers-is-not-defined/50097/6
I changed it to...
But it seems like there's some other uses of that loop in there... not sure if that will be enough for all cases...
The text was updated successfully, but these errors were encountered: