TypeError: Variable is not a constructor

ok, so try ...

const SouthernCompany = new SouthernCompanyAPI.SouthernCompanyAPI({
  username: 'email',
  password: 'password',
  accounts: ['account']
})
node.warn(SouthernCompany);
1 Like