Hi, I am trying to update the alanning:roles to v2 (I am using 1.2.19 version) through meteor shell using this command:
But I got this error:
Uncaught TypeError: Package.alanning:roles.Roles._forwardMigrate is not a function at packages/shell-server/shell-server.js:252:21 at runBound (domain.js:439:12) at bound (domain.js:426:14) at defaultEval (repl.js:430:29) at Script.runInThisContext (vm.js:120:20) at repl:1:-29
I want to update it first to v2 in order to update it later to v3, as it says in the documentation to migrate to 3.0.
My packages file is the following:
# Meteor packages used by this project, one per line. # Check this file (and the other files in this directory) into your repository. # # 'meteor add' and 'meteor remove' will edit this file for you, # but you can also edit it by hand. firstname.lastname@example.org # Packages every Meteor app needs to have email@example.com # Packages for a great mobile UX firstname.lastname@example.org # The database Meteor supports right now jquery # Wrapper package for npm-installed jquery email@example.com # Meteor's client-side reactive programming library firstname.lastname@example.org # CSS minifier run for production mode email@example.com # JS minifier run for production mode firstname.lastname@example.org # ECMAScript 5 compatibility for older browsers email@example.com # Enable ECMAScript2015+ syntax in app code firstname.lastname@example.org # Enable TypeScript syntax in .ts and .tsx modules email@example.com # Server-side component of the `meteor shell` command meteortesting:mocha # A package for writing and running your meteor app and package tests with mocha johanbrook:publication-collector # Test a Meteor publication by collecting its output static-html akryum:vue-component akryum:vue firstname.lastname@example.org email@example.com alanning:firstname.lastname@example.org babrahams:transactions email@example.com mizzao:user-status nimble:restivus mdg:validated-method lacosta:method-hooks peerlibrary:middleware meteorhacks:async
Anyone can help me please?
Note: I am using
Windows 10 x64 (1909)