Skip to content
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

Can't add ryw:blog on meteor 1.3.4.4 app #278

Open
ujwal-setlur opened this issue Jul 18, 2016 · 2 comments
Open

Can't add ryw:blog on meteor 1.3.4.4 app #278

ujwal-setlur opened this issue Jul 18, 2016 · 2 comments

Comments

@ujwal-setlur
Copy link

Hi,

When I try to add ryw:blog, I get this error:

ryw:blog added, version 0.5.1

ryw:blog: INCOMPATIBLE WITH METEOR 0.9.0 OR LATER

I don't know why it is trying to install the 0.5.1 version when the latest release is 0.8.6. I think it is because I have the latest versions of json-rest and json-routes installed.

When I try to explicitly add the latest version, I get this:

=> Errors while adding packages:

While selecting package versions:
error: Potentially incompatible change required to top-level dependency: simple:rest 0.2.3, was 1.1.1.
Constraints on package "simple:rest":

Potentially incompatible change required to top-level dependency: simple:json-routes 1.0.4, was 2.1.0.
Constraints on package "simple:json-routes":

  • simple:json-routes@1.0.1 <- simple:rest 0.2.3
  • simple:json-routes@1.0.4 <- ryw:blog 0.8.6

To allow potentially incompatible changes to top-level dependencies, you must pass --allow-incompatible-update on the command line.

Any help? Thanks!

@ujwal-setlur
Copy link
Author

I have resolved this by removing the explicit version number from the json-routes dependency:

diff --git a/package.js b/package.js
index 57b21dd..cb0d678 100644
--- a/package.js
+++ b/package.js
@@ -118,7 +118,7 @@ Package.onUse(function(api) {

api.use([
'check',

  • 'simple:json-routes@1.0.4'
  • 'simple:json-routes'
    ], 'server');

Npm.depends({ rss: '0.0.4' });

Is this something that can be incorporated?

Thanks.

@hellogerard
Copy link
Contributor

PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants