New to Meteor here. Having trouble figuring out why I get this error. I’m basically running through the Angular 2 Socially tutorial and trying to add roles to the project.
I added the roles package with the following command:
meteor add alanning:roles
Then in the fixtures I added a users.js file where I check to see if there are any existing Meteor.users. If not, create an admin user and add it to the ‘admin’ role. When I import Roles I get an error.
This is the import command:
import { Roles } from ‘meteor/alanning:roles’;
Am I missing something? Any help would be appreciated.