visjs / vis-network

:dizzy: Display dynamic, automatically organised, customizable network views.
https://visjs.github.io/vis-network/
Apache License 2.0
3.09k stars 374 forks source link

Error: Cannot use namespace 'Assignable' as a type #829

Open monicaraghuwanshi opened 4 years ago

monicaraghuwanshi commented 4 years ago

`ERROR in node_modules/vis-data/declarations/data-interface.d.ts: Cannot use namespace 'Assignable' as a type

Getting this error when trying to install vis-network and vis-data in my angular 8 project.

Edit: Added MWE with angular - Here i don't see the error https://stackblitz.com/edit/visjs-with-angular-pazyma

Also it is asking to install so many dependencies. But do these many installations needed before using? In my project I added vis-network and vis-data and hammer only. image

Thomaash commented 4 years ago

Hi @monicaraghuwanshi,

can you provide an MWE, please?

Thanks.

PS: I have zero experience with Angular so an MWE without Angular is preferable (unless of course Angular is what actually triggers this).

monicaraghuwanshi commented 4 years ago

@Thomaash Have updated the ticket.