Code Monkey home page Code Monkey logo

Comments (11)

alanning avatar alanning commented on May 22, 2024

Hmm, sorry for the trouble. Not sure what's going on there. If you create a new project and add roles, which version gets added?

$ meteor create test99
$ cd test99
$ mrt add roles

from meteor-roles.

alanning avatar alanning commented on May 22, 2024

Also, this thread seems to suggest that re-running mrt update a bunch of times will eventually get the latest version. :-/

Tracking this issue on meteorite's repo here: oortcloud/meteorite#269

from meteor-roles.

supdegrave avatar supdegrave commented on May 22, 2024

Unfortunately I've tried running mrt update repeatedly, to no avail.

I just noticed that the smart.json file for accounts-admin-ui-bootstrap-3 has the following hard-coded reference. Could this be the cause?

"roles": "1.2.6"

from meteor-roles.

supdegrave avatar supdegrave commented on May 22, 2024

Sorry, meant to add that creating a new project and pulling in just the roles package does correctly get 1.2.8.

from meteor-roles.

alanning avatar alanning commented on May 22, 2024

I think you cracked the case! Probably is accounts-admin-ui-bootstrap-3 that is causing it in your case.

Could you please confirm by removing that package, doing the mrt update, and seeing if it upgrades correctly on the first try?

from meteor-roles.

supdegrave avatar supdegrave commented on May 22, 2024

More information:

  • Editing accounts-admin-ui-bootstrap-3/smart.json to change to 1.2.8 then running mrt update (repeatedly) doesn't change the version.
  • running meteor remove roles followed by meteor add roles appears to pull down 1.2.6 as well, based on version value in roles/smart.json

from meteor-roles.

alanning avatar alanning commented on May 22, 2024

May be some caching going on there with the way mrt works internally. I submitted a PR to the admin-bootstrap repo: hharnisc/meteor-accounts-admin-ui-bootstrap-3#10

from meteor-roles.

supdegrave avatar supdegrave commented on May 22, 2024

OK, I removed both roles and accounts-admin-ui-bootstrap-3, then added them again in that order. That managed to pull in the latest version.

from meteor-roles.

alanning avatar alanning commented on May 22, 2024

Cool, that confirms the root cause and gives others an easy workaround. Hope the new package system will make these situations clearer.

Thanks!

from meteor-roles.

gadicc avatar gadicc commented on May 22, 2024

Everyone who experienced this issue, what is the output of mrt --version ?

from meteor-roles.

supdegrave avatar supdegrave commented on May 22, 2024
$ mrt --version
Meteorite version 0.7.2
Release 0.8.0

from meteor-roles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.