tb / ng2-nouislider

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

1.7.7 breaks Typescript build with Angular 2.3 #154

Closed d-damien closed 1 year ago

d-damien commented 6 years ago

When running our build script, the typescript line is :

tsc -t es5 --moduleResolution node --emitDecoratorMetadata --sourceMap false --experimentalDecorators --module commonjs src/main.ts

Error message is :

node_modules/ng2-nouislider/src/nouislider.d.ts(1,55): error TS2305: Module '"[...]node_modules/@angular/core/index"' has no exported member 'Renderer2'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2

Temporary solution is to install previous version :

npm i ng2-nouislider@1.7.6
d-damien commented 1 year ago

Really old Angular version.