-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
[1.3.3] Upgrade breaks app, 'require is not defined' #7226
Comments
What version were you updating from? |
1.3.2 |
This appears to be a consequence of changes to the Unfortunately, sometimes Babel adds Since the But since This is definitely a bug in the In the meanwhile, I can think of two ways to fix this. Both approaches involve installing cd path/to/app
mkdir packages
cd packages
git clone https://github.com/electronifie/meteor-pages.git Now that you have a local copy of
diff --git a/lib/pages.coffee b/lib/pages.coffee
index 66337ee..af84f94 100755
--- a/lib/pages.coffee
+++ b/lib/pages.coffee
@@ -103,7 +103,7 @@
constructor: (collection, settings = {}) ->
unless @ instanceof Meteor.Pagination
- throw new Meteor.Error "missing-new", "The Meteor.Pagination instance has to be initiated with `new`"
+ throw new Meteor.Error "missing-new", "The Meteor.Pagination instance has to be initiated with new"
# Instance variables |
Thanks for this workaround! This fixed the problem, however in the end I simply removed |
In meteor 1.3.3 (possibly other versions) the backticks caused ReferenceError: require is not defined when including this package. switched backticks to single quotes per suggestion here: meteor/meteor#7226
This should be fixed in Meteor 1.3.3.1, which you can try by running |
After upgrading to 1.3.3 using
meteor update
my app instantly crashes.Working on mac.
The text was updated successfully, but these errors were encountered: