Comments (11)
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.
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.
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.
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.
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.
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 bymeteor add roles
appears to pull down 1.2.6 as well, based on version value in roles/smart.json
from meteor-roles.
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.
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.
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.
Everyone who experienced this issue, what is the output of mrt --version
?
from meteor-roles.
$ mrt --version
Meteorite version 0.7.2
Release 0.8.0
from meteor-roles.
Related Issues (20)
- How to run migration script from V1 -> V3 HOT 3
- Exception on subscription: $in needs an array.
- Support new Meteor async API (Meteor 2.8+) HOT 2
- Defaut publication uses only user._id, but no index is created on that field only HOT 2
- cannot add data into role-assignment HOT 3
- Meteor.roleAssignment, error: Property 'roleAssignment' does not exist on type 'typeof Meteor'. HOT 5
- Weird issue with role-assignement.. HOT 2
- Upgrading from 3.4.0 to 3.5.0 introduces 6x node "UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'isCalledFromAsync' of undefined" warnings. HOT 1
- TypeError: Cannot set property 'isCalledFromAsync' of undefined ... HOT 4
- Improve community standards HOT 1
- Add code quality tools HOT 2
- Add selector to Roles.getUsersInRole HOT 2
- forwardMigrate2 tries to drop unset index HOT 1
- Add new function to change scope of existing role assignment HOT 1
- addRolesToParent -> Reset inheritance as unwanted roles may still be connected HOT 1
- Get a list of users with a scope HOT 13
- api docs still show v.3.4.0 in upper right corner HOT 1
- Not async? HOT 3
- Dependency on old [email protected] (need v3.0.0-rc300.1) HOT 3
- Roles.createRole is not a function (alanning:[email protected]) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-roles.