ngx-drag-and-drop-lists
ngx-drag-and-drop-lists copied to clipboard
ERROR in node_modules/ngx-drag-and-drop-lists/directives/dnd-list.d.ts(3,25): error TS2307: Cannot find module 'rxjs/internal/Subject
Seeing this error after updating to 1.2.3:
ERROR in node_modules/ngx-drag-and-drop-lists/directives/dnd-list.d.ts(3,25): error TS2307: Cannot find module 'rxjs/internal/Subject'.
Changing path to 'rxjs/Subject' in that file and dnd-list.js resolves the issue. Could you please update with this small fix? We are on Angular 5.
I had to add rxjs-compat to support the angular 5 and at the same move it to rxjs/Subject.
Could anyone tell me if its optimal maybe to add rxjs 6 to dependencies from dev dependencies?
So I have been trying to use it in Angular 6 project, and with RxJS v6 the 'rxjs/Subject' does not work again. It must be 'rxjs' alone:
import { Subject } from 'rxjs'
Install rxjs-compat
On Fri, Aug 10, 2018, 05:41 Paweł Król [email protected] wrote:
So I have been trying to use it in Angular 6 project, and with RxJS v6 the 'rxjs/Subject' does not work again. It must be 'rxjs' alone: import { Subject } from 'rxjs'
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/misha130/ngx-drag-and-drop-lists/issues/25#issuecomment-412033140, or mute the thread https://github.com/notifications/unsubscribe-auth/AGV4LGLlE7zM8XQbIWzuSkBH8iFcsq8qks5uPVVFgaJpZM4VGD8S .
~Installing rxjs-compat doesn't resolve the issue. Using Angular 6.~
Scrap this. I hadn't stopped my build and restarted in VS.
./node_modules/ngx-drag-and-drop-lists/directives/dnd-list.js Module not found: Error: Can't resolve 'rxjs/Subject'
any plans to upgrade to latest rxjs (angular6+ compatible) version?