I know this is an old topic, but I hope this will be useful to somebody. It would have saved me a couple of hours. Apparently the setupDriver, setFrequency and disableChip methods require a callback to function correctly. pwmExp.setupDriver(0,50,0, () => { console.log("setupDriver success."); });