-
Notifications
You must be signed in to change notification settings - Fork 43
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
Deprecation error with Meteor 1.2-rc.11 #95
Comments
Getting the same error. |
There is an easy fix, you just need to update the call like described in the error. // packages/npm-container/package.js - OLD VERSION
Package.onUse(function(api) {
api.add_files('index.js', 'server');
api.add_files('../../packages.json', 'server', {
isAsset: true
});
}); // packages/npm-container/package.js - NEW VERSION
Package.onUse(function(api) {
api.add_files('index.js', 'server');
api.addAssets('../../packages.json', 'server');
}); |
I published a updated version for this. Simply updating
Basically, it removes the |
Oops! Didn't realize this would break things. Sorry about that. |
That's fine. Anyway, we have to update it :) |
Those steps fit it for me, thanks! |
Stumbled upon this issue. I think the Meteor upgrade guide should be updated. In this guide, it says: |
+1 for resolution provided by @arunoda |
+1 |
This shouldn't be the case in meteor 1.2.1 anymore. |
It's working in meteor 1.2.1. |
Trying to upgrade from rc10 to rc11 results in the following error:
The text was updated successfully, but these errors were encountered: