requiring 'notifme-sdk' results in error
lidorcg opened this issue · comments
lidorcg commented
when using require to import 'notifme-sdk' an error occur when trying to create a client.
the solution for me was:
const NotifmeSdk = require("notifme-sdk").default;
David Brown commented
yes, that's expected since this lib uses es6 export syntax.