ng2-ui / auto-complete

Angular Auto Complete component and directive
https://ng2-ui.github.io/dist/#/auto-complete
MIT License
279 stars 123 forks source link

Problems with the plugin in angular version 5 #315

Closed renanmoraes closed 6 years ago

renanmoraes commented 6 years ago

ERROR in ./node_modules/@ngui/auto-complete/dist/auto-complete.js Module not found: Error: Can't resolve '@angular/http' in '/var/www/lb-enterprise/node_modules/@ngui/auto-complete/dist' resolve '@angular/http' in '/var/www/lb-enterprise/node_modules/@ngui/auto-complete/dist' Parsed request is a module using description file: /var/www/lb-enterprise/node_modules/@ngui/auto-complete/package.json (relative path: ./dist)

I'm having trouble with the plugin when I use it in angular 5, it looks for the @ angular / http module would you let me know if it's already compatible with the latest version of angular?

almothafar commented 6 years ago

This is also with angular version 4+ if you use HttpClient instead of Http