anvaka / npmgraph.an

2d visualization of npm
https://npm.anvaka.com
MIT License
1.23k stars 83 forks source link

Bug: Getting TypeError: $http.get(...).success is not a function #40

Closed mukul13 closed 3 years ago

mukul13 commented 4 years ago

Thanks for this cool tool! I was exploring the website today but faced this issue. I am not sure whether this ticket is duplicate or not. Getting this error in console when I am clicking on 'Show'

TypeError: $http.get(...).success is not a function
    at Object.link (bundle.js:18080)
    at external.min.js:17
    at external.min.js:89
    at Ca (external.min.js:89)
    at p (external.min.js:73)
    at g (external.min.js:65)
    at p (external.min.js:73)
    at g (external.min.js:65)
    at external.min.js:64
    at external.min.js:70
    at d (external.min.js:67)
    at m (external.min.js:71)
    at external.min.js:330
    at external.min.js:151
    at m.$digest (external.min.js:152)
    at m.$apply (external.min.js:155) "<div typeahead-match="" index="$index" match="match" query="query" template-url="match.templateUrl" class="ng-isolate-scope">"
Krinkle commented 4 years ago

This looks similar to the error reported last year at https://github.com/anvaka/npmgraph.an/issues/34, although that one was seemingly fixed. Perhaps it was not deployed, or it regressed again?

kytta commented 4 years ago

The #34 was fixed by adding support for then new Node 12. I guess this regression may be caused by Node 14 🤔

Krinkle commented 4 years ago

For anyone looking for a (temporary) alternative, http://npm.broofa.com/ provides a similar visualisation.

http://npm.broofa.com/?q=qunit@2.11.1
NPMGraph: qunit

https://github.com/broofa/npmgraph

anvaka commented 4 years ago

Sorry I missed this friends. I pushed the new version - checked on my end, and see that the error is gone. Please let me know if something else missing.