Trying to use Msal.js


I’m trying to use Msal.js in my meteor application (with vue) but i get an error :

Uncaught TypeError: module.runSetters is not a function

I’m pretty sure it’s the import that is at fault here :


const msalConfig = {
  auth: {
    clientId: 'clientId', 
    authority: ''
import {PublicClientApplication} from "@azure/msal-browser"
const msalInstance = new PublicClientApplication(msalConfig);
import {Meteor} from 'meteor/meteor'
export default {

Can anyone help with this?


This is most likely a bug in Meteor. Could you please create a reproduction?