anvaka / npmgraph.an

2d visualization of npm

Home Page:https://npm.anvaka.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot convert null or undefined to object

alasdairhurst opened this issue · comments

Not sure exactly the dependency that caused this, but http://npm.anvaka.com/#!/view/2d/no-one-left-behind with this error after a while.

Interesting, isn't no-one-left-behind is a toy package that depends on all other packages?

I wonder which of those thousand packages, causes npmgraph to report the error.

Also I doubt that SVG would be able to handle so many elements with decent performance, but that's secondary...

It's one of a few packages which try and do that yeah. Although you can only have 1000 dependencies when publishing to NPM so there's a huge amount left out. I was interested in how many transient dependencies it had so stuck it into here. It's just as likely one of those (more than 1000) transient dependencies caused it to error.

It was actually performing quite well until it crashed, surprisingly.

I'll try and get it set up locally and debug it.