Closed huanghai21 closed 7 years ago
Which browser are you using? I have also issues importing this module in IE11, in Chrome it just works fine. in IE11 it stops at this line:
modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
I used Chrome, which version is "56.0.2924.87". Did you use webpack2 to compile your project?
I am using Angular-CLI 1.0.0-rc2 which is using webpack 2.2.1
Hi @huanghai21 could you please provide an example project to reproduce the issues? Is the example working for you?
I had the same issue in firefox 43.x.x but i upgraded to 47.0.2 and now woks fine , in chrome works fine too
Probably this is related to #3, switching the target version to es5 solved #3. Maybe this issue is now also fixed? @huanghai21 could you please test with the new version v1.0.3?
Hello, I got an error message like this.
Unexpected value 'IonRangeSliderModule' imported by the module 'AppModule'
Hope you can give me some help, thank you~
I used webpack to compile my project.
I install ng2-ion-range-slider:
npm install ng2-ion-range-slider --save
and import it in my main module:
import { IonRangeSliderModule } from 'ng2-ion-range-slider'; .... imports:[ ...... IonRangeSliderModule ], ....
when I start my project, try to view it in the browser, it can not loading on with an error up there.