After doing npm i data-driven-range-slider and requiring the module as it's listed in the Github README, I get this error:

I've tried requiring 'data-driven-range-slider' instead and that gives me a different error related to using a const variable. I'm not sure why.
After doing npm i data-driven-range-slider and requiring the module as it's listed in the Github README, I get this error:

I've tried requiring 'data-driven-range-slider' instead and that gives me a different error related to using a const variable. I'm not sure why.