When I install ng2-ion-range-slider with yarn there is a node_modules folder created in the ng2-ion-range-slider folder (node_modules/ng2-ion-range-slider/node_modules) and because of that the build fails with Cannot redeclare block-scoped variable 'ngDevMode'.
After deleting the folder manually the build works without problems.
When I install ng2-ion-range-slider with yarn there is a node_modules folder created in the ng2-ion-range-slider folder (node_modules/ng2-ion-range-slider/node_modules) and because of that the build fails with Cannot redeclare block-scoped variable 'ngDevMode'. After deleting the folder manually the build works without problems.
Angular 5.2.9 and cli 1.7.3