tb / ng2-nouislider

Angular2 noUiSlider directive
http://tb.github.io/ng2-nouislider/
MIT License
184 stars 114 forks source link

Uncaught ReferenceError: exports is not defined #183

Open M-S opened 6 years ago

M-S commented 6 years ago

I am using Angular 4 and I get this error on console

nouislider.ts:292 Uncaught ReferenceError: exports is not defined at nouislider.ts:292 (anonymous) @ nouislider.ts:292

alwinrichard1 commented 5 years ago

I've uninstalled the packages and removed all the related codes from my project. Then installed the plugin again (https://www.npmjs.com/package/ng2-nouislider) and configured it with the latest updates. Now the error is gone.