Closed marcoschwartz closed 7 years ago
+1
however I got this error today when I updated Meteor to 1.4.2.7
@marcoschwartz I got around the issue by using a local version of the package and removing one of it's dependencies - google
Just add the package locally (see how below if you're not sure how to) and manually edit package.js file. What we need to change is in the call Package.on_use
and change the google
in api.use
to google-oauth
From this
if (api.versionsFrom) {
api.versionsFrom('0.9.0');
api.use(['http', 'livedata', 'google', 'mrt:q@1.0.1', 'accounts-base', 'underscore']);
}
to look like this
if (api.versionsFrom) {
api.versionsFrom('0.9.0');
api.use(['http', 'livedata', 'google-oauth', 'mrt:q@1.0.1', 'accounts-base', 'underscore']);
}
I also changed the version in Package.describe
from 1.0.3
to 1.0.3_1
so I know for sure I'm using the local package.
To use a local version of the package, download this package ZIP and unzip it to a folder names packages
inside the folder of your Meteor app.
Then do the changes described above, and add the package again
meteor add percolate:google-api
if you changed the version as well you should get
meteor add percolate:google-api
percolate:google-api without a version constraint has already been added.
Changes to your project's package version selections:
google removed from your project
percolate:google-api upgraded from 1.0.3 to 1.0.3_1
I've just submitted a pull request to resolve this issue. Hopefully it works and the maintainers merge it in...
thanks @allenfuller
Just checking in to see if anyone has heard any updates on this, or found another resolution?
Hi, we are no longer using this project, and thus it is unmaintained. Is someone interested in taking over maintenance?
@tmeasday I can't put a lot of time into it, but I could take over maintaining the basics, merging PRs etc...
@ro6 I'll give you GH access and permission to publish, use wisely :)
@ro6 what is your MD username?
@tmeasday do you have a recommendation as to another library/package that we should use?
No, sorry @merlinpatt
@tmeasday ro6, same as GitHub
@ro6, added as a maintainer
@ro6 wondering if you still planned to release your pull request?
@adamgins Added the fix and released. Closing this for now, please let me know if you have any issues.
Hello,
I got the following error since updating Meteor to 1.4.3.1:
Error: Already registered the google OAuth service
I guess it's coming from the fact that Meteor now uses google-oauth and not just google, and the google module therefore is installed two times... how to fix this? Thanks!