ngx-drag-and-drop-lists icon indicating copy to clipboard operation
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

Open kevinjsmith opened this issue 6 years ago • 5 comments

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.

kevinjsmith avatar Jul 06 '18 21:07 kevinjsmith

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?

misha130 avatar Jul 08 '18 18:07 misha130

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'

pawkrol avatar Aug 10 '18 09:08 pawkrol

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 .

misha130 avatar Aug 10 '18 15:08 misha130

~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'

blackn1ght avatar Aug 30 '18 13:08 blackn1ght

any plans to upgrade to latest rxjs (angular6+ compatible) version?

adhamankar avatar Feb 24 '19 07:02 adhamankar